163 |
private final JCheckBox checkShowLSConsoleWhenRunScript = |
private final JCheckBox checkShowLSConsoleWhenRunScript = |
164 |
new JCheckBox(i18n.getLabel("GeneralPane.checkShowLSConsoleWhenRunScript")); |
new JCheckBox(i18n.getLabel("GeneralPane.checkShowLSConsoleWhenRunScript")); |
165 |
|
|
166 |
|
private final JCheckBox checkShowVolumesInDecibels = |
167 |
|
new JCheckBox(i18n.getLabel("GeneralPane.checkShowVolumesInDecibels")); |
168 |
|
|
169 |
private final JSGeneralProps.MaxVolumePane maxVolPane = new JSGeneralProps.MaxVolumePane(); |
private final JSGeneralProps.MaxVolumePane maxVolPane = new JSGeneralProps.MaxVolumePane(); |
170 |
|
|
171 |
private final JSGeneralProps.JSamplerHomePane jSamplerHomePane = |
private final JSGeneralProps.JSamplerHomePane jSamplerHomePane = |
195 |
|
|
196 |
add(Box.createRigidArea(new Dimension(0, 6))); |
add(Box.createRigidArea(new Dimension(0, 6))); |
197 |
|
|
198 |
|
b = preferences().getBoolProperty(VOL_MEASUREMENT_UNIT_DECIBEL); |
199 |
|
checkShowVolumesInDecibels.setSelected(b); |
200 |
|
|
201 |
|
add(checkShowVolumesInDecibels); |
202 |
|
|
203 |
|
add(Box.createRigidArea(new Dimension(0, 6))); |
204 |
|
|
205 |
add(maxVolPane); |
add(maxVolPane); |
206 |
|
|
207 |
add(Box.createRigidArea(new Dimension(0, 6))); |
add(Box.createRigidArea(new Dimension(0, 6))); |
228 |
b = checkShowLSConsoleWhenRunScript.isSelected(); |
b = checkShowLSConsoleWhenRunScript.isSelected(); |
229 |
preferences().setBoolProperty(SHOW_LS_CONSOLE_WHEN_RUN_SCRIPT, b); |
preferences().setBoolProperty(SHOW_LS_CONSOLE_WHEN_RUN_SCRIPT, b); |
230 |
|
|
231 |
|
b = checkShowVolumesInDecibels.isSelected(); |
232 |
|
preferences().setBoolProperty(VOL_MEASUREMENT_UNIT_DECIBEL, b); |
233 |
|
|
234 |
int size = recentScriptsPane.getRecentScriptsSize(); |
int size = recentScriptsPane.getRecentScriptsSize(); |
235 |
preferences().setIntProperty(RECENT_LSCP_SCRIPTS_SIZE, size); |
preferences().setIntProperty(RECENT_LSCP_SCRIPTS_SIZE, size); |
236 |
((MainFrame)CC.getMainFrame()).updateRecentScriptsMenu(); |
((MainFrame)CC.getMainFrame()).updateRecentScriptsMenu(); |