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

Key event  RSS feed

 
Roman V
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I has some work with Robot class. I cant stop application through my Frame because mouse moving very
fast and clicking outside of my Frame(Frame isn't ACTIVE).
I want to stop my application somehow outside of application. How can I do this?
 
Roman V
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help me pls!!!
 
Michael Szul
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your application have a menu? You can always set up a key event to close the application when the person hits...say CTRL-Q.
Otherwise you can just kill it with a system dependent shortcut. (Like ALT-F4 for Windows).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!