Skip to content

Commit 94e5ade

Browse files
hansonrhansonr
authored andcommitted
tabbed pane not showing some tabs
1 parent fb5fc25 commit 94e5ade

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/HTML5LookAndFeel.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,13 +1533,13 @@ public Object createValue(UIDefaults table) {
15331533
// }),
15341534
//
15351535
// *** TabbedPane
1536-
// "TabbedPane.font", dialogPlain12,
1536+
"TabbedPane.font", dialogPlain12,
15371537
"TabbedPane.background", control,
15381538
"TabbedPane.foreground", controlText,
1539-
// "TabbedPane.highlight", controlLtHighlight,
1540-
// "TabbedPane.light", controlHighlight,
1541-
// "TabbedPane.shadow", controlShadow,
1542-
// "TabbedPane.darkShadow", controlDkShadow,
1539+
"TabbedPane.highlight", controlLtHighlight,
1540+
"TabbedPane.light", controlHighlight,
1541+
"TabbedPane.shadow", controlShadow,
1542+
"TabbedPane.darkShadow", controlDkShadow,
15431543
"TabbedPane.selected",
15441544
null,
15451545
// "TabbedPane.focus", controlText,

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSTabbedPaneUI.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,8 @@ public void paint(Graphics g, JComponent c) {
877877
}
878878
}
879879

880+
881+
880882
/**
881883
* Paints the tabs in the tab area.
882884
* Invoked by paint().
@@ -3586,6 +3588,7 @@ public void doLayout() {
35863588
}
35873589
}
35883590

3591+
35893592
private class ScrollableTabButton extends BasicArrowButton implements UIResource,
35903593
SwingConstants {
35913594
public ScrollableTabButton(int direction) {

0 commit comments

Comments
 (0)