/[svn]/jsampler/trunk/src/org/jsampler/view/classic/TasksPage.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/classic/TasksPage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 910 by iliev, Thu Mar 16 18:08:34 2006 UTC revision 911 by iliev, Mon Aug 7 18:25:58 2006 UTC
# Line 66  public class TasksPage extends Navigatio Line 66  public class TasksPage extends Navigatio
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 =
# Line 145  public class TasksPage extends Navigatio Line 149  public class TasksPage extends Navigatio
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();
# Line 199  public class TasksPage extends Navigatio Line 221  public class TasksPage extends Navigatio
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); }

Legend:
Removed from v.910  
changed lines
  Added in v.911

  ViewVC Help
Powered by ViewVC