The moose likes Swing / AWT / SWT and the fly likes Change position of JMenu. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Change position of JMenu." Watch "Change position of JMenu." New topic
Author

Change position of JMenu.

Josh Rodrigues
Greenhorn

Joined: Apr 14, 2010
Posts: 17
When you add a JMenu to a JMenuBar, and if you were to click onto the JMenu, you would see the menu going downward. Does anyone know how to make it go upward as if it were to be like the start button on the task bar in Windows? Thanks.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Check out the section titled "Customizing Menu Layout" in http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html

This question would be better suited on the UI forums. Moving thread.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change position of JMenu.