77 |
onCancel() { setVisible(false); } |
onCancel() { setVisible(false); } |
78 |
|
|
79 |
public static class MainPane extends JPanel { |
public static class MainPane extends JPanel { |
80 |
|
private final JSGeneralProps.MaxVolumePane maxVolumePane = new JSGeneralProps.MaxVolumePane(); |
81 |
private final MidiBankProgramNumberingPane numberingPane = new MidiBankProgramNumberingPane(); |
private final MidiBankProgramNumberingPane numberingPane = new MidiBankProgramNumberingPane(); |
82 |
private final ExportSettingsPane exportSettingsPane = new ExportSettingsPane(); |
private final ExportSettingsPane exportSettingsPane = new ExportSettingsPane(); |
83 |
|
|
84 |
public |
public |
85 |
MainPane() { |
MainPane() { |
86 |
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); |
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); |
87 |
|
add(maxVolumePane); |
88 |
|
add(Box.createRigidArea(new Dimension(0, 6))); |
89 |
add(numberingPane); |
add(numberingPane); |
90 |
add(Box.createRigidArea(new Dimension(0, 6))); |
add(Box.createRigidArea(new Dimension(0, 6))); |
91 |
add(exportSettingsPane); |
add(exportSettingsPane); |
93 |
|
|
94 |
public void |
public void |
95 |
apply() { |
apply() { |
96 |
|
maxVolumePane.apply(); |
97 |
numberingPane.apply(); |
numberingPane.apply(); |
98 |
exportSettingsPane.apply(); |
exportSettingsPane.apply(); |
99 |
} |
} |