36,051 Topics
![]() | |
How would you click a submit button on a form using winsock? thanks for any help | |
[indent] [color=darkslateblue][b]Sun Microsystems and Google plan to announce a collaborative effort that some analysts speculate could elevate the profile of the OpenOffice.org and Java software packages.[/b] [/color] [color=darkslateblue]Details won't emerge publicly until Google CEO Eric Schmidt and Sun CEO Scott McNealy take the stage on Tuesday at a news conference … | |
I have an array list that stores some files. These files are shown to the user. Depending on the index chosen i will input the file to the program. There fore i write [code]//initialization List projecList = new ArrayList(//........); //body String getproject = projectList.get(index).toString(); updatepd(getproject);[/code] if i system.out.println() the getproject … | |
Sorry for confusing the issue by including the Format source code (I did not realize all structure format would be lost on the web site). The basic issue is this. I have a very small project (3 files). From one routine I can easily make a call to a printing … | |
Hi all, I'm kinda new to all this stuff so maybe I'm totally starting off on the wrong foot here... Here is my problem.. I have an acces database residing on the webserver from where I get some information onto my webpages, these pages are asp. The database connection and … | |
I'm trying to set a 301 redirect in my jsp code (this is tomcat btw) using this: <% response.setContentType("text/html"); response.setDateHeader("Expires", 0); response.setHeader("Location", "http://www.mysite.com/record/[B]pleasehelpme[/B] /[B]helpmeheretoo[/B]"); response.setStatus(301); %> the [B]pleasehelpme[/B] and [B]helpmeheretoo[/B] need to use variable values i get from mysql which i would normally express in the application like <%=(((Recordset1_data = … | |
How can I store a javascript variable in jsp session | |
Hello All, I need some help with my class assignment. I have two numbers ie. 100 and 200 and I need to convert them to hexadecimal numbers. The catch is i have to use recursive function. Thanks in advance for any help. Regards, Robson13 | |
hi I have a problem working a project for my school assignment but I keep getting this error and I have no idea what the problem is. Can anyone tell me what is wrong with it? the erroe messeges are Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at SearchGui.showResults(SearchGui.java:46) at SearchGui.invokeSearch(SearchGui.java:76) at … | |
I am trying to construct a JTree to show the following data. The program should he able to read any data in this format. [B]ChildNode[/B]--------[B]Parent Node[/B] Employee--------Root Visitors----------Root Staff------------Employee Students--------Employee Graduates-------Students Undergrads------Students Interns----------Employee,Visitors I have this two columns of info stored in two linked list. LinkedList A and LinkedList B. … | |
Hey, my IE keeps messing up, i cant use it, so i have to use mozilla firefox (which i prefer anyway, but my brother doesnt) I have scanned it with HJT, and found quite a big log. I was wondering which to fix, and which to leave. Ive attached my … | |
I have attached my current source code to this message. It is in .java format. Here is a brief description of my problem: I have a program which accepts input for a Purchase Price, an Amount Tendered, and then displays the Change Due. Also, it must display the number of … | |
Hi, Why are Java programmers not provided with a [B]sizeof[/B] operator as in C/C++ to know the size of the datatypes or objects..? Do the programmers really dont need it while using data strucures... | |
Hi, Can anyone please tell whats the size of a [B]boolean[/B] variable declared in Java? | |
Hi, I am new to java.Can u Plz help me.I have a JcomboBox. I want to display all the ItemId from the database in that JComboBox. I don't know how to do that.Its Displaying only 1 item.ie.first record.Can any one plz help me. The code is:- public String selectItemID(){ String … | |
I am designing a Rinex file reader class in Java and this is my first project in Java. I need to store data into an array or vector. I am reading the data from the file related to the time the data occurs. At first I tried to use an … | |
Hello. I wonder if someone can please help me on this programming code. I need to convert A to binary, representing the answer as an 8-bit unsigned binary number. can anyone help me please on how to do this. thank you... Raza | |
Hi was just wondering if i can use java for PIC programming as we can with C or Basic.Or can we use java for microprocessing.... | |
hi forum, i hv used an iterator to parse over the contents of a LinkedHashSet collection.while iterating i hv to add new contents(URL links) to the collection.but adding of new content after the creation of an iterator throws an exception.I must use this particular collection for my program.i m in … | |
Hi, im really glad im able to be able to get help about this stuff, if you can help me i'd greatly appreciate it. Im running Windows 2000, i have microsoft anti-spyware for spyware removal, and Mcafee Real-time protection. I also have ad-aware, and i have spybot search and destroy. … | |
I am trying to link a Core Java class (Format) that has worked well for me for years. In the same project, I have a routine that makes a call: Format.print(os, "%5.4f\n", fVar); I get a msg from the JBuilder compiler: Cannot resolve symbol: variable Format in class.... The thing … | |
I want to be able to display a default image if the java applet is not inited, just like if they don't have java enabled, I want a default image. I know how to do the latter, but is it possible to do the first? | |
Hi everyone, First of all ,this is my first new threads and grant to someone who opened my threads to ingnore my horrible mistakes. I am the student of learning Java Program and i would like to know whether a virus can be produced with Java and if so , … | |
I am trying to built an application using JSP and MYSQL. The problem is as follows. "signup" table - Schema as CompanyID: Username: Password int varchar :Varchar 1 :A: :xxx 1 :B: :xxxx 2 :c: :xxxx 3 :d: :xxxx "Participants" Table - schema as Companyid :Empname : EmpLastName int : … | |
is there a downloadable program off the web that is similar to Xcode for mac but instead runs on pc thanks | |
hi people, i have encountered this error message "unclosed character literal" while compiling the below program using bluej. I wonder what is wrong with the code,do enlighten me. Thanks!! public class Address { private String street; private String city; private String zip; private String state; //Default constructor public Address ( … | |
hi all i have installed jdk1.5.0 in gentoo linux and having the following problem can any one help me out what should be done i had just installed gentoo. i am not able to set a java heap size of more than 2600m on these machines. I m getting following … | |
CAN ANYONE EXPLAIN THE OUPUT AND THE ERROR OF/IN THE FOLLOWING PROGRAM /* Debug this program */ class WomenMen { unsigned int i; String stirng s[]; String name[]={"men","women"); private f(int i) { system.out.println(String[i]+" "); } void main(String arg[]) { System.out.println("Press 0 to enter men's name /n press 1 to enter … | |
Here's the problem; I need to write a recursive function that outputs permutations for a given input n; such that the output looks like: Given n=3, you'd get. . . empty set 1 1 2 1 3 2 2 3 3 1 2 3 The order in which the subsets … | |
hi forum, yesterday i posted a question regarding removing duplicate objects in arraylist and looking at the replies it seemed to me that hashset will be a better option than arraylist.problem is that i want the contents to be itearated strictly in order of their insertion, but the books say … | |
Hi all, I want to begin programming in either Java1 or Java2 (probably Java2 as it is the more recent). Are there any free Java2 compilers on the internet (like the Bloodshed C++ compiler) I could download? Thanks | |
I have gotten a trojan by following a link one of my friends sent me over aim. I have tried removing it with NAV and AVG, but they cannot remove it. The virus NAV is saying I have is msdirectx.sys. Any help would be greatly appreciated. Logfile of HijackThis v1.99.1 … | |
Hello Everyone, I am sorry to post this in the java forum but I was not sure where to post this so if you know of a better place in here, let me know. I already tried the computer and engineering forum and I figured Java people would know Matlab. … | |
Hi, As I have not succeeded in making JMF show live broadcasts of MPEG 4 format ,I thought of trying out Quicktime player,as here too we have quicktime for java.So after installing,I entered the url as rtsp://myserverip/mpeg4/1/media.amp Thus i got the response...Connecting...Buffering and then Showing Live Broadcasts.. But still I … | |
Hi I got runtime error as "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ". How can I solve this problem? Can anyone explain me why this problem occurs? Thanks in advance. | |
Let's say I have 5 applets on the same page. How does the JVM respond to that? Will a new implementation be created for each applet, or does each applet share the jvm? Also, is there some priority, like the first applet added will be the first loaded? Hope that … | |
:!: :!: :!: i am trying to make a chat applet ,first problem is that it is working for only single system,i want to know how to connect it with network and second there is some problem in my code it os showing some error which i am unable to … | |
Hola, I'm working on a personal-organizer applet and I'm having trouble saving my to-do lists. I want to save a vector that contains my table data as an object (don't feel like playing with text) and I'd like to save to the folder in my webspace where all of the … | |
hi forum, i m developing a simple web crawler in java.upon entering an URL, the crawler downloads the corresponding web page and continues this process.but i m having problem in accessing web pages which are redirected to a diferent URL.one such example is [URL=http://www.telegraphindia.com]www.telegraphindia.com[/URL] ,in which a new part gets … | |
Hi Everyone, Is there a way to make your own remote connection program (just for my use - at least fo now)? Something like goToMyPC. Any suggestions would be appreciated. Also, is this easier to do in PHP/HTML? Thanks in advanced. | |
Hi everyone, I require some help for this project I am currently working on. Basically what I have to do is read from two text files, then calculate some numbers from both files (eg: add the numbers and average them) and after that, write the results to a another file. … | |
Hi, pple im interested to know how to put a drawn 'image', a combination of a circle and a line into another class? If i like to draw that 'image' in the void paint() method multiple times, e.g 10. How should i go about doing it? Below is a sample … | |
Hi Guys, We are trying to create a little servlet in Tomcat, which is capable to send audio files over http to an embedded media player. The definition of the player looks like: ... <OBJECT ID="Mp" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="application/x-oleobject" WIDTH="0" HEIGHT="0"> <PARAM name="uiMode" value="none"> <PARAM NAME="ShowControls" VALUE="0"> <PARAM NAME="AutoStart" VALUE="1"> <PARAM … | |
I am working on a parsing a file . This is my problem. There are classes and subclasses. Classes/Subclasses are defined by attributes. The sub classes will inherit the attributes of its super class. For example: Employee(attrbts: name, salary) [INDENT]manager(attrbts: responsibilities)[/INDENT] [INDENT]clerks(attrbts: department)[/INDENT] Emp is a class with manager nd … | |
can any body help me to find cool topics for miniprojects in SWING like text editor or..... | |
Greetings again forum goers! I have another question abound with plenty of obvious nooble errors I'm sure. I am making a memory game(You know the old game where you turn over cards and try to match two in a row, and memorize previous locations etc. ) and this is the … | |
Hey, I am trying to install the Java sdk on my computer. I downloaded the newest version 5.0_04 and I installed it. It seemed to work up until the end when an error came up, saying it didn't install properly. Here is the error, "Java update cannot retreive version information … | |
[B]Please let me know that what's the component heirarchical structure, i.e, what comes first ...........window then applet or frame is pasted, then comes panel ,after that all GUIs. If I m wrong then plz tell. If I m right then also reply me, I am still confused[/B]. :confused: | |
Hello, I'm using Java SDK 1.5. I'm trying to compress an 8-bit grayscale BITMAP using Run-Length-Encoding, using lists. Can someone help me out? | |
hey im new to this forum and new to programming and i got an assignment for a sales ticket generator and i clicked compile and it said variable burger might not have been initialized please help.... import TerminalIO.KeyboardReader; public class Resturant { public static void main (String [] args) { … |
The End.