mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
TabbedPane: Changed name in demo and added separator repaint on focus gained.
This commit is contained in:
@@ -489,7 +489,9 @@ public class FlatTabbedPaneUI
|
|||||||
contentBorderFocusListener = new FocusListener()
|
contentBorderFocusListener = new FocusListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void focusGained( FocusEvent e ) {}
|
public void focusGained( FocusEvent e ) {
|
||||||
|
repaintContentBorder();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void focusLost( FocusEvent e ) {
|
public void focusLost( FocusEvent e ) {
|
||||||
|
|||||||
@@ -983,7 +983,7 @@ class TabsPanel
|
|||||||
panel4.add(showTabSeparatorsCheckBox, "cell 2 1");
|
panel4.add(showTabSeparatorsCheckBox, "cell 2 1");
|
||||||
|
|
||||||
//---- activeTabBorderCheckBox ----
|
//---- activeTabBorderCheckBox ----
|
||||||
activeTabBorderCheckBox.setText("Active tab border");
|
activeTabBorderCheckBox.setText("Paint border around active tab");
|
||||||
activeTabBorderCheckBox.setName("activeTabBorderCheckBox");
|
activeTabBorderCheckBox.setName("activeTabBorderCheckBox");
|
||||||
activeTabBorderCheckBox.addActionListener(e -> activeTabBorderChanged());
|
activeTabBorderCheckBox.addActionListener(e -> activeTabBorderChanged());
|
||||||
panel4.add(activeTabBorderCheckBox, "cell 3 1");
|
panel4.add(activeTabBorderCheckBox, "cell 3 1");
|
||||||
|
|||||||
Reference in New Issue
Block a user