File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPopMenu and TabbedPane

 
vinaya kumar
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic