Forum: Java Jul 25th, 2006 |
| Replies: 12 Views: 2,555 :lol: You definately should post more often. |
Forum: Java Jul 24th, 2006 |
| Replies: 12 Views: 2,555 :lol: :lol: :lol: :lol: :lol: :lol:
I love threads like these.
Wow? You wanna cookie? |
Forum: Java May 2nd, 2006 |
| Replies: 3 Views: 831 Why does int menu return an int, but you aren't returning anything?
The itemCost method is the one that should be returning something, in my opinion. |
Forum: Java May 2nd, 2006 |
| Replies: 3 Views: 831 Why does int menu return an int, but you aren't returning anything?
The itemCost method is the one that should be returning something, in my opinion. |
Forum: Java Apr 24th, 2006 |
| Replies: 2 Views: 917 Maybe the JavaScript forum could help you? |
Forum: Java Apr 19th, 2006 |
| Replies: 18 Views: 13,145 English classes everywhere are ignoring grammar and all of India thinks they are cut out for programming. I can tell you first hand that English teachers spend more time on stupid crap like poetry... |
Forum: Java Mar 20th, 2006 |
| Replies: 18 Views: 13,145 I've thought about writing one of those. I may just do it. |
Forum: Java Mar 3rd, 2006 |
| Replies: 3 Views: 1,716 Ummm it looks like you already did that?? |
Forum: Java Nov 28th, 2005 |
| Replies: 7 Views: 6,188 You have semi-colons after the if, and else statements. They shouldn't be there. |
Forum: Java Nov 28th, 2005 |
| Replies: 7 Views: 6,188 Shouldn't these be parsed:
Mort = answer.getText();
Int = answera.getText();
T = answerb.getText();
MonthPay.setText( "$" + (Int - (Mort * Int * T)) / (T*12)); |
Forum: Java Nov 25th, 2005 |
| Replies: 2 Views: 1,568 Applets extend JApplet not JFrame ;) |
Forum: Java Nov 20th, 2005 |
| Replies: 2 Views: 2,160 You could use a StringTokenizer to read everything that's a word(doesn't read white space).
Get the length of the word.
In a for loop you can process the char at index 'i' by using charAt(i). |
Forum: Java Sep 3rd, 2005 |
| Replies: 3 Views: 2,358 catch the exception:
public void actionPerformed(ActionEvent ae)
{
try
{
methodcall();
}
catch(IOException ioe)
{ |
Forum: Java Aug 5th, 2005 |
| Replies: 5 Views: 1,994 |
Forum: Java Aug 1st, 2005 |
| Replies: 13 Views: 3,809 Where's your work and why are you posting in someone elses thread? |
Forum: Java Jul 21st, 2005 |
| Replies: 4 Views: 1,577 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 Jun 22nd, 2005 |
| Replies: 13 Views: 3,809 GetLocation() probably needs to make a call to the Point2D class. I'm guessing your class has a constructor that takes two arguments, an x and a y. If so, you could say:
public void getLocation()... |
Forum: Java Jun 22nd, 2005 |
| Replies: 13 Views: 3,809 Im pretty sure that the get method returns a point....From there it's up to the recipitent of the point to call the getX() getY() methods on that point. There's really now way to return both of... |
Forum: Java Jun 22nd, 2005 |
| Replies: 13 Views: 3,809 What exactly are you having problems with during the use of get and setLocation()... You can specify an x and y int as arguments or pass a point to it. You'll have to be more specific before I can... |
Forum: Java Oct 25th, 2004 |
| Replies: 3 Views: 7,115 The finally clause executes wheter or not an exception is thrown. Except when a catch clause invokes System.exit() of course! |