35 |
import javax.swing.event.ChangeEvent; |
import javax.swing.event.ChangeEvent; |
36 |
import javax.swing.event.ChangeListener; |
import javax.swing.event.ChangeListener; |
37 |
|
|
38 |
|
import org.jvnet.substance.SubstanceLookAndFeel; |
39 |
|
|
40 |
import static org.jsampler.view.fantasia.FantasiaI18n.i18n; |
import static org.jsampler.view.fantasia.FantasiaI18n.i18n; |
41 |
import static org.jsampler.view.fantasia.FantasiaPrefs.preferences; |
import static org.jsampler.view.fantasia.FantasiaPrefs.preferences; |
42 |
|
|
73 |
final String s = "rightSidePane.showInstrumentsDb"; |
final String s = "rightSidePane.showInstrumentsDb"; |
74 |
setTabbedView(preferences().getBoolProperty(s)); |
setTabbedView(preferences().getBoolProperty(s)); |
75 |
|
|
76 |
|
tabbedPane.setBackground(new java.awt.Color(0x828282)); |
77 |
|
tabbedPane.putClientProperty(SubstanceLookAndFeel.COLORIZATION_FACTOR, 1.0); |
78 |
|
|
79 |
preferences().addPropertyChangeListener(s, getHandler()); |
preferences().addPropertyChangeListener(s, getHandler()); |
80 |
} |
} |
81 |
|
|