• Post Reply Bookmark Topic Watch Topic
  • New Topic

incomplete menu shown  RSS feed

 
Haris Karameh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, another newbie question:
I added JMenuBar with JMenu with several items.
The ContentPane contains JSplitPane.
Clicking on the menu renders visible just first few items. Rendering gets cuttof when it reaches the divider. How can I make the complete menu visible.
Thanks , Haris
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ensure you are not mixing swing/awt components
ie do you have an awt component below the divider?
 
Haris Karameh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michael, great tip.
The bottom panel in jSplitPane was awt, I replaced it with JPanel and works great.
Thank you very much again,
Haris
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!