/** * Creates a special {@link JTabbedPane} that displays a small 'close' button in each tab. * When user clicks the close button a {@link java.beans.PropertyChangeEvent} is fired from the * tabbed pane. The property name is {@link #PROP_CLOSE} and the property * value is the inner component inside the clicked tab. * * @return Special TabbedPane with closeable tabs. * @see TabbedPaneFactory#NO_CLOSE_BUTTON */ public static JTabbedPane createCloseButtonTabbedPane() { return getDefault().createTabbedPane(); } }