|
|
@ -2209,7 +2209,7 @@ public abstract class DarkTabbedPaneUIBridge extends TabbedPaneUI implements Swi |
|
|
|
public void actionPerformed(final ActionEvent e) { |
|
|
|
public void actionPerformed(final ActionEvent e) { |
|
|
|
String key = getName(); |
|
|
|
String key = getName(); |
|
|
|
JTabbedPane pane = (JTabbedPane) e.getSource(); |
|
|
|
JTabbedPane pane = (JTabbedPane) e.getSource(); |
|
|
|
DarkTabbedPaneUIBridge ui = (DarkTabbedPaneUIBridge) DarkUIUtil |
|
|
|
DarkTabbedPaneUIBridge ui = DarkUIUtil |
|
|
|
.getUIOfType(pane.getUI(), |
|
|
|
.getUIOfType(pane.getUI(), |
|
|
|
DarkTabbedPaneUIBridge.class); |
|
|
|
DarkTabbedPaneUIBridge.class); |
|
|
|
|
|
|
|
|
|
|
@ -2243,7 +2243,7 @@ public abstract class DarkTabbedPaneUIBridge extends TabbedPaneUI implements Swi |
|
|
|
ui.navigateSelectedTab(SwingConstants.SOUTH); |
|
|
|
ui.navigateSelectedTab(SwingConstants.SOUTH); |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (Objects.equals(key, REQUEST_FOCUS)) { |
|
|
|
} else if (Objects.equals(key, REQUEST_FOCUS)) { |
|
|
|
pane.requestFocus(); |
|
|
|
pane.requestFocusInWindow(); |
|
|
|
} else if (Objects.equals(key, REQUEST_FOCUS_FOR_VISIBLE)) { |
|
|
|
} else if (Objects.equals(key, REQUEST_FOCUS_FOR_VISIBLE)) { |
|
|
|
ui.requestFocusForVisibleComponent(); |
|
|
|
ui.requestFocusForVisibleComponent(); |
|
|
|
} else if (Objects.equals(key, SET_SELECTED)) { |
|
|
|
} else if (Objects.equals(key, SET_SELECTED)) { |
|
|
|