Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No action detected  RSS feed

 
Yoshihiro Shimatsu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have a JFrame GUI2 that displays an animation. This animation can be controlled by Keyboard actions when calling the GUI2 constructor directly in main method.

The problem is I want to set some parameters for GUI2 in another JFrame GUI. The GUI2 object is now created by clicking a Start button on GUI object. Now no keyboard action can be detected on GUI2.

What is the problem with it?
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to Use the Focus Subsystem
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!