• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JPopMenu and TabbedPane

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I have unique problem..

I have Dialog Box, with a tabbed Pane containing
two tabs say A and B.
B had a table with one of its column when
clicked pop's a PopupMenu.
Now my problem,
When this menu is popped, i able change the tab
to A.
i.e I pop the menu, since i have not selected any value in the menu, it is displayed.
now mouse is clicked on the other tab, the pop menu is there and A's Tab Content is displayed.
What i want is !!
when other tab is clicked i want the popup menu to disappear.
any clue on how to achieve this...
One more doubt:-
can i add menu object [with menuitems in the menu object] to JComboBox.
If yes, please give the clue to do this.
thanks in advance
vinaya
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please post some code... the JPopupMenu works correctly in the test code that I made...



-Nate
 
vinaya kumar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am working on this..
will o/p the code ..
in a day or two
Thanks for the help
vinaya
 
reply
    Bookmark Topic Watch Topic
  • New Topic