# HG changeset patch # User peterz # Date 1287750356 -14400 # Node ID 36b01e053bd752dfe21fe5f5e842f4cd2fb6d622 # Parent 05505fff1342f2065f26dcbf44cc1cebb7a21fd8 6993140: protected constructor in javax.swing.plaf.synth.SynthTabbedPaneUI.SynthTabbedPaneUI is needed Reviewed-by: rupashka diff -r 05505fff1342 -r 36b01e053bd7 jdk/src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java --- a/jdk/src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java Thu Oct 21 20:41:20 2010 +0400 +++ b/jdk/src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java Fri Oct 22 16:25:56 2010 +0400 @@ -115,10 +115,7 @@ return new SynthTabbedPaneUI(); } - private SynthTabbedPaneUI() { - } - - private boolean scrollableTabLayoutEnabled() { + private boolean scrollableTabLayoutEnabled() { return (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT); }