| Thread | Last Post | Replies |
|
| Help With Arrays | 25 Nov 2004 09:00 GMT | 4 |
Hey, Im doin a uni coursework and i need to figure out how to set the number of elements in an array when its variable. i know that to set an array with say 7 elements it is arraytype arrayname[] = new type[7]
|
| Java in Mandrake 9.2 doesn't work | 25 Nov 2004 05:00 GMT | 8 |
What does it meen? // By Ian Darwin import java.util.Locale; public class ListLocales {
|
| ResultSet is closed | 25 Nov 2004 04:31 GMT | 2 |
I was testing my program and the above appeared in the output. I have searched all classes in this particular folder and I do not even have any of that coded. Does Java issue messages like that? Is it an error? My code ran ok, just the message appeared.
|
| NEWBIE HELP: Super class accessing attributes of sub-class | 25 Nov 2004 02:28 GMT | 1 |
I have a sub class, subClass1 that has a protected attribute, subAtt. The sub class uses super() in the constructor. If I instantiate the super class, why can't I see the subAtt attribute ?
|
| memory problem with StreamTokenizer | 25 Nov 2004 02:21 GMT | 1 |
Hi, I am using StreamTokenizer to parser a file and it seems that there is a memory problem with the class. Here is my code: BufferedReader br = new BufferedReader(new FileReader(filename)); StreamTokenizer st = new StreamTokenizer(br);
|
| getParameter question | 24 Nov 2004 23:41 GMT | 1 |
I'm trying to do an e-mail form on my site, am trying to implement servlet that appears here: http://www.dickbaldwin.com/java/Java690.htm I'm checking out the Servlet API, I see the getParameter methods, but:
|
| calling methods in a string | 24 Nov 2004 22:54 GMT | 2 |
This is a program that computes clothing sizes by age, weight, and height. However I am unable to get the program to display the results. I fear I may have the code arranged wrongly or I might be missing a declaration, but I believe the main problem is calling the methods to the ...
|
| Implements Comparable | 24 Nov 2004 21:30 GMT | 3 |
I'm trying to sort some arrays. I have two classes, each with an array. Class Customer is not a super/sub class of any other class and I can do the "implements Comaparable" phrase as follows: public class Prob6Customer implements Comparable
|
| Using arrays & methods | 24 Nov 2004 18:36 GMT | 1 |
I am having problems figuring out how to sort a list of employees based on the hours that they have worked. This is what I have so far and I have failed to obtain any results due to a problem in the printList statement. Any help or advice would be appreciated.
|
| Point me to the right API? (java image manipulation) | 24 Nov 2004 17:32 GMT | 2 |
Perhaps somebody can point me in the right direction and give me a kick to get me started. I'm normally a serverside guy so I dont muck with the graphics libraries much at all. What I want to do is start with an image file, break it into a grid of
|
| help | 24 Nov 2004 16:38 GMT | 1 |
help, please see my results section. what am i doing wrong? //Project3.java: copute clothing sizes according to formulas, kelly huff, csci 1236, 11-18-04 import javax.swing.JOptionPane;
|
| Help calling methods! | 24 Nov 2004 16:36 GMT | 1 |
I can't get the program to show the output I am apparently delcaring the methods wrong but I cna't firgure out how to do it correctly... please help me... //Project3.java: copute clothing sizes according to formulas, kelly huff,
|
| DecimalToBinary can't handle numbers greater that 63 | 24 Nov 2004 15:57 GMT | 7 |
I have made this code to convert decimal numbers to binary. Thing is I only want it to work up to 63, but when I write a number larger than this it prints my errormessage and the number that is to big : (Here I tried with 64 and got the following result):
|
| LinkedList clear() method and C++ copy constructor confusion | 24 Nov 2004 14:41 GMT | 2 |
I've implemented a queue class using a LinkedList. One of the methods I provide is a dumpToVector() method which is supposed to copy all the elements of the LinkedList to a Vector and then clear() the LinkedList. Coming from a C++ background, I'm not sure if the objects placed
|
| even or oneven | 24 Nov 2004 13:14 GMT | 6 |
Hello, i tried to make a program to check if a number is even or oneven, like this /* * evenoneven.java
|