250 |
private final JCheckBox checkTurnOffCustomWindowDecoration = |
private final JCheckBox checkTurnOffCustomWindowDecoration = |
251 |
new JCheckBox(i18n.getLabel("ViewPane.checkTurnOffCustomWindowDecoration")); |
new JCheckBox(i18n.getLabel("ViewPane.checkTurnOffCustomWindowDecoration")); |
252 |
|
|
253 |
|
private final JCheckBox checkShowInstrumentsDb = |
254 |
|
new JCheckBox(i18n.getLabel("ViewPane.checkShowInstrumentsDb")); |
255 |
|
|
256 |
private final JSViewProps.MidiDevicesPane midiDevsPane = new JSViewProps.MidiDevicesPane(); |
private final JSViewProps.MidiDevicesPane midiDevsPane = new JSViewProps.MidiDevicesPane(); |
257 |
private final JSViewProps.AudioDevicesPane audioDevsPane = new JSViewProps.AudioDevicesPane(); |
private final JSViewProps.AudioDevicesPane audioDevsPane = new JSViewProps.AudioDevicesPane(); |
258 |
|
|
267 |
checkTurnOffCustomWindowDecoration.setAlignmentX(JPanel.LEFT_ALIGNMENT); |
checkTurnOffCustomWindowDecoration.setAlignmentX(JPanel.LEFT_ALIGNMENT); |
268 |
add(checkTurnOffCustomWindowDecoration); |
add(checkTurnOffCustomWindowDecoration); |
269 |
add(Box.createRigidArea(new Dimension(0, 6))); |
add(Box.createRigidArea(new Dimension(0, 6))); |
270 |
|
|
271 |
|
b = preferences().getBoolProperty("rightSidePane.showInstrumentsDb"); |
272 |
|
checkShowInstrumentsDb.setSelected(b); |
273 |
|
checkShowInstrumentsDb.setAlignmentX(JPanel.LEFT_ALIGNMENT); |
274 |
|
add(checkShowInstrumentsDb); |
275 |
|
add(Box.createRigidArea(new Dimension(0, 6))); |
276 |
|
|
277 |
add(midiDevsPane); |
add(midiDevsPane); |
278 |
add(audioDevsPane); |
add(audioDevsPane); |
279 |
add(confirmationMessagesPane); |
add(confirmationMessagesPane); |
284 |
String s = "TurnOffCustomWindowDecoration"; |
String s = "TurnOffCustomWindowDecoration"; |
285 |
preferences().setBoolProperty(s, checkTurnOffCustomWindowDecoration.isSelected()); |
preferences().setBoolProperty(s, checkTurnOffCustomWindowDecoration.isSelected()); |
286 |
|
|
287 |
|
s = "rightSidePane.showInstrumentsDb"; |
288 |
|
preferences().setBoolProperty(s, checkShowInstrumentsDb.isSelected()); |
289 |
|
|
290 |
midiDevsPane.apply(); |
midiDevsPane.apply(); |
291 |
audioDevsPane.apply(); |
audioDevsPane.apply(); |
292 |
confirmationMessagesPane.apply(); |
confirmationMessagesPane.apply(); |