Forum: Java Aug 20th, 2006 |
| Replies: 1 Views: 995 Ohh, you have an environment variable issue. Check the java.sun site to get the latest info on how to correctly set your variables. |
Forum: Java Aug 11th, 2006 |
| Replies: 14 Views: 2,563 baaaaaawhhhahhahhahahaha.
What about one of those fart noise makers? Press a button and it makes a fart noise. Have it select a random fart each time the button is pressed. You could also... |
Forum: Java May 1st, 2006 |
| Replies: 4 Views: 1,273 I thought it was easy, but if you don't know OOP then you're screwed. That's all the test is. |
Forum: Java Feb 16th, 2006 |
| Replies: 3 Views: 1,217 Only opened by your program? You can save something as a different extension, but other programs will be able to open it and probably easily decipher the contents, especially if it's just text. |
Forum: Java Oct 20th, 2005 |
| Replies: 5 Views: 6,684 I think you got it backwards.
compareTo() is used to compare Objects. It tests if THIS object is of the same type as the parameterized object. For instance,
String s = "t";
String s2 =... |
Forum: Java Jul 22nd, 2005 |
| Replies: 4 Views: 1,574 JDialog. It will be just like creating a JFrame, but it's a dialog. A bit more complex, but it will do the job. |
Forum: Java Jul 21st, 2005 |
| Replies: 4 Views: 1,574 I don't think you want JTextFields. Look up JOptionPanes. They give you many options to get input from the user via an input box. |
Forum: Java Jul 18th, 2005 |
| Replies: 2 Views: 929 If I didn't get it all, let me know. |