Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

swing JPanel Component  RSS feed

 
joseph okon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody tell me how to make different Jpanel to interact with each other eg. like pressing a button in one JPanel and the action occurs in another JPanel
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is only one instance of the application then you can use
static references.



// Mathias
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!