Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

swing components arrangement  RSS feed

 
aleem baig
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i have a jpanel in which i added a menubar and below it i have added some login related components. but when i make use of this panel in another class using jsplitpane my menubar component is displaying beside the login components.its not showing above the components. how to show menubar above the login components in the splitpane.
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Call setJMenuBar on your frame.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!