66 |
new LinkButton(i18n.getButtonLabel("TasksPage.lnkNewChannel")); |
new LinkButton(i18n.getButtonLabel("TasksPage.lnkNewChannel")); |
67 |
private LinkButton lnkNewChannelWizard = |
private LinkButton lnkNewChannelWizard = |
68 |
new LinkButton(i18n.getButtonLabel("TasksPage.lnkNewChannelWizard")); |
new LinkButton(i18n.getButtonLabel("TasksPage.lnkNewChannelWizard")); |
69 |
|
private LinkButton lnkOrchestras = |
70 |
|
new LinkButton(i18n.getButtonLabel("TasksPage.lnkOrchestras")); |
71 |
|
private LinkButton lnkManageOrchestras = |
72 |
|
new LinkButton(i18n.getButtonLabel("TasksPage.lnkManageOrchestras")); |
73 |
|
|
74 |
|
|
75 |
private LinkButton lnkRefreshSampler = |
private LinkButton lnkRefreshSampler = |
149 |
|
|
150 |
add(p); |
add(p); |
151 |
|
|
152 |
|
JLabel lOrchestras = new JLabel(i18n.getLabel("TasksPage.lOrchestras")); |
153 |
|
add(lOrchestras); |
154 |
|
|
155 |
|
sep = new JSeparator(); |
156 |
|
sep.setMaximumSize(new Dimension(Short.MAX_VALUE, sep.getPreferredSize().height)); |
157 |
|
add(sep); |
158 |
|
|
159 |
|
p = new JPanel(); |
160 |
|
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
161 |
|
p.setBorder(BorderFactory.createEmptyBorder(6, 12, 17, 0)); |
162 |
|
|
163 |
|
p.add(lnkOrchestras); |
164 |
|
p.add(lnkManageOrchestras); |
165 |
|
p.add(Box.createGlue()); |
166 |
|
p.setMaximumSize(p.getPreferredSize()); |
167 |
|
|
168 |
|
add(p); |
169 |
|
|
170 |
add(Box.createGlue()); |
add(Box.createGlue()); |
171 |
|
|
172 |
sep = new JSeparator(); |
sep = new JSeparator(); |
221 |
actionPerformed(ActionEvent e) { getLeftPane().showAudioDevicesPage(); } |
actionPerformed(ActionEvent e) { getLeftPane().showAudioDevicesPage(); } |
222 |
}); |
}); |
223 |
|
|
224 |
|
lnkOrchestras.addActionListener(new ActionListener() { |
225 |
|
public void |
226 |
|
actionPerformed(ActionEvent e) { getLeftPane().showOrchestrasPage(); } |
227 |
|
}); |
228 |
|
|
229 |
|
lnkManageOrchestras.addActionListener(new ActionListener() { |
230 |
|
public void |
231 |
|
actionPerformed(ActionEvent e) { getLeftPane().showManageOrchestrasPage(); } |
232 |
|
}); |
233 |
|
|
234 |
lnkRefreshSampler.addActionListener(new ActionListener() { |
lnkRefreshSampler.addActionListener(new ActionListener() { |
235 |
public void |
public void |
236 |
actionPerformed(ActionEvent e) { A4n.refresh.actionPerformed(null); } |
actionPerformed(ActionEvent e) { A4n.refresh.actionPerformed(null); } |