Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrollable JPopupmenu  RSS feed

 
Pawar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I have to create a JMenu , which can have a large number of sub menus ane menuitems.
so the popup(JPopupMenu) shown on menu selection, should
scroll vertically.. (like in windows)
can anybody help me to find out some good solution??
thanx in advance
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pawar,

Please re-register with a user name that follows the guidlines of the JavaRanch Official UserName Conventions. It states that user names need to follow the format - "First Name" + space + "Last Name".

Thanks,

-Nate
 
David Vickers
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a similar problem.

I have a menu, based on menu and menuitems, in popup. When the user clicks on a submenu, a list of stores is given. This list fills the height of broweser and offers a scroll arrow top and bottom.
How can I control this arrow?

Also, on some users PC's the menu list disappears below the screen size, and cannot be navigated correctly, although the cursor gives some functionality.
Is it possible to limit the menuitems shown to say 10 items, using the normal scrolling arrow?
Help gratefully received

Dave
 
David Vickers
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a similar problem.

I have a menu, based on menu and menuitems, in popup. When the user clicks on a submenu, a list of stores is given. This list fills the height of broweser and offers a scroll arrow top and bottom.
How can I control this arrow?

Also, on some users PC's the menu list disappears below the screen size, and cannot be navigated correctly, although the cursor gives some functionality.
Is it possible to limit the menuitems shown to say 10 items, using the normal scrolling arrow?
Help gratefully received

Dave
 
Yan Bezugliy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a solution that I found:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=454021
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!