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

Setting JPanel Focus  RSS feed

 
Ross Morton
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JPanel containing a number of RadioButtons.
When one of these is selected I want to set Focus to the JPanel so that the FocusLost event will be triggered when moving out of the JPanel.
In other words is there a way of getting the RadioButton component to set a property of it's container ?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!