/[svn]/jsampler/trunk/src/org/jsampler/view/fantasia/A4n.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/fantasia/A4n.java

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

revision 2191 by iliev, Sun Mar 15 14:33:48 2009 UTC revision 2192 by iliev, Fri Jun 24 21:34:51 2011 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005-2009 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 281  public class A4n extends StdA4n { Line 281  public class A4n extends StdA4n {
281                  }                  }
282          }          }
283                    
284            public final Action windowSamplerBrowser  = new WindowSamplerBrowser();
285    
286            private class WindowSamplerBrowser extends AbstractAction {
287                    WindowSamplerBrowser() {
288                            super(i18n.getMenuLabel("window.SamplerBrowser"));
289                            putValue(SHORT_DESCRIPTION, i18n.getMenuLabel("window.SamplerBrowser.tt"));
290                            //putValue(Action.SMALL_ICON, Res.iconLSConsole32);
291                    }
292    
293                    @Override
294                    public void
295                    actionPerformed(ActionEvent e) {
296                            SamplerBrowserFrame browser =
297                                    ((MainFrame)CC.getMainFrame()).getSamplerBrowserFrame();
298    
299                            if(browser.isVisible()) browser.setVisible(false);
300    
301                            browser.setVisible(true);
302                    }
303            }
304            
305  // HELP  // HELP
306          public final Action helpAbout = new HelpAbout();          public final Action helpAbout = new HelpAbout();
307                    

Legend:
Removed from v.2191  
changed lines
  Added in v.2192

  ViewVC Help
Powered by ViewVC