I'm trying to use the new Tabs class instead of the old TabbedPane. New Tabs class doesn't have addSelectionListener. How can I intercept the tab selection in the new Tabs class?
Depends on what you might be trying to do addTabsFocusListener might help.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.