List of usage examples for javax.swing JTabbedPane getSelectedComponent
@Transient
public Component getSelectedComponent()
From source file:plugin.notes.NotesPlugin.java
public boolean isActive() { JTabbedPane tp = Utility.getTabbedPaneFor(theView); return tp != null && JOptionPane.getFrameForComponent(tp).isFocused() && tp.getSelectedComponent().equals(theView); }