Forum: Java Jul 17th, 2009 |
| Replies: 10 Views: 670 4. stop hi-jacking threads
5. don't post complete code (at least initially) |
Forum: Java May 2nd, 2009 |
| Replies: 9 Views: 689 from a quick glance i'd say your contructor isn't trimming the whitespaces correctly |
Forum: Java Mar 23rd, 2009 |
| Replies: 4 Views: 339 The "==" operator won't evaluate two Strings as true unless they are the same object. You should use String.equals() instead. |
Forum: Java Feb 25th, 2009 |
| Replies: 2 Views: 298 firstNumber and secondNumber are Strings (I am pretty sure you know this). since they are strings, == will only evaluate true if they are the same object. you want to use .equals to compare Strings... |
Forum: Java Feb 25th, 2009 |
| Replies: 11 Views: 1,059 this link may help you: http://forums.java.net/jive/thread.jspa?threadID=42506
there is also a link at the bottom of the page to a sun reference. one of my guesses would be the fact that repaint()... |
Forum: Java Feb 24th, 2009 |
| Replies: 10 Views: 474 what is the point in returning "enter" when all your logic related to "enter" is already complete within the method? and as i said previously, simply returning a value is useless unless you actually... |
Forum: Java Jun 23rd, 2008 |
| Replies: 15 Views: 1,857 Pretty much worked straight away for me. All I did was create a new project, delete the default package and copy in your package instead. DoodleBug.java was missing a package statement, but that was... |