Forum: Java May 23rd, 2008 |
| Replies: 3 Views: 4,136 How about switching the focus from your JButton to JFrame which will do the trick
Just add this code before setting your JFrame visibility
setFocusable(true);
before your
setVisible(true);... |
Forum: Java May 23rd, 2008 |
| Replies: 0 Views: 340 Hi folks,
Today i noticed two strange behaviour in swing.
Case 1: Normally for every key events we used to get one keyPress and one keyRelease events.But this is not of the case with PrintScreen... |
Forum: Java Mar 12th, 2008 |
| Replies: 4 Views: 422 Can you provide some more detail where you have been struck up.
If you don't know how to start with creating thread then you can get a nice tutorial here... |
Forum: Java Dec 12th, 2007 |
| Replies: 5 Views: 2,930 Java specification tells that we cannot have static methods in interface.Can anyone explain me Why?
:-O |