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

Panels  RSS feed

 
Fran Costigan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
i can't seem to get panels working for me. I want to create 3 panels which will be added to my JFrame, and become visible when a JButton is clicked. Any ideas how to get started?What layout manager would be best to work with, i was thinking CardLayout??
 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not clear of the Requirement. If all the panels are to be made visible then the solution is different and if only one at a time then its diff.
please elaborate so that i can help!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!