net.alantea.swing.tab.TabbedPane Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swingplus Show documentation
Show all versions of swingplus Show documentation
Addons over swing package.
The newest version!
package net.alantea.swing.tab;
import java.awt.Component;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import net.alantea.swing.pageelements.Redrawable;
/**
* The Class TabbedPane.
*/
public class TabbedPane extends JTabbedPane
{
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 1L;
/** The listeners. */
private List listeners = new ArrayList<>();
// key is the panel, value is the title
private Map tabTitlesMap = new HashMap<>();
// key is the reference, value is the panel
private Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy