Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Custom JComboBox Renderer

843806May 11 2009 — edited May 12 2009
Hi!

I want to use a JMenu as a renderer for a JComboBox. When the combo is pressed, the popup that is open should contain 3 JMenu. Then if the mouse id moved over any of the 3 JMenu, 2 check menu items should be opened in an additional popup, near the popup that contains the 3 JMenu.
A picture that illustrate the behaviour could be found here: [http://www.trilulilu.ro/mogadiscio/ee847e6a14b2d5]
I'm able to obtain the 3 JMenus in the combo's popup but the 3 JMenus does not repond to mouse events so the additional submenu is not open.
Any suggestions are welcome.

Orly
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2009
Added on May 11 2009
6 comments
230 views