java - JTabbedPane tabs -


OK, so I have an application in JTabbedPane and it has several panels. Is it possible to assign JPopupMenu to the actual tab instead of JPanel? If this is possible, how do I do it?

For an example, see.

I think that you will first call setTabComponentAt ([every index], [labeled with a popup attached]), then you have to add a method to change each method tabs when they Are clicked.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -