Sorry, I do NOT see a constructor for the MyClass class.
Are you talking about what is done in the main() method?
Suggestion: move all the GUI creation code from the main() method to a...
Type: Posts; User: Norm
Sorry, I do NOT see a constructor for the MyClass class.
Are you talking about what is done in the main() method?
Suggestion: move all the GUI creation code from the main() method to a...
What does the constructor for MyClass do to make any GUI that you can see?
The forum's software/server has problems occasionally. You now have 3 copies here
How do you know if a key listener method is called? None of them call println to print out a message.
Where...
The component needs the focus to be able to receive key strokes.
key binding is a more reliable way to receive key strokes.
Post a small, complete program that compiles, executes and shows the...