开发者

How to keep menu item on top of text area?

I'm using netbeans to write the GUI. I have a menu bar with few menu items and the main window has a text area all over it. when I press the menu item,I cant see it because the text area is on top (the menu item internal frame is behind the text ar开发者_JAVA技巧ea)how can I make the menu item internal frame to be on the top ?(the text area will be on the background)

thanks


I'm not sure what problem you are facing but it seems like you are looking for JLayeredPane

Some useful links:

  1. How to use layered pane
  2. How to use Internal frames


Try to specify a Z-Value index higher for the JMenu , when adding it to its container component.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜