mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27: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()
|
||||
{
|
||||
@Override
|
||||
public void focusGained( FocusEvent e ) {}
|
||||
public void focusGained( FocusEvent e ) {
|
||||
repaintContentBorder();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void focusLost( FocusEvent e ) {
|
||||
|
||||
@@ -983,7 +983,7 @@ class TabsPanel
|
||||
panel4.add(showTabSeparatorsCheckBox, "cell 2 1");
|
||||
|
||||
//---- activeTabBorderCheckBox ----
|
||||
activeTabBorderCheckBox.setText("Active tab border");
|
||||
activeTabBorderCheckBox.setText("Paint border around active tab");
|
||||
activeTabBorderCheckBox.setName("activeTabBorderCheckBox");
|
||||
activeTabBorderCheckBox.addActionListener(e -> activeTabBorderChanged());
|
||||
panel4.add(activeTabBorderCheckBox, "cell 3 1");
|
||||
|
||||
Reference in New Issue
Block a user