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

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

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

revision 1142 by iliev, Thu Mar 16 18:08:34 2006 UTC revision 1143 by iliev, Mon Apr 2 21:18:31 2007 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 Grigor Kirilov Iliev   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 39  import javax.swing.JProgressBar; Line 39  import javax.swing.JProgressBar;
39    
40  import org.jsampler.CC;  import org.jsampler.CC;
41    
42    import org.jsampler.event.SamplerAdapter;
43  import org.jsampler.event.SamplerChannelListEvent;  import org.jsampler.event.SamplerChannelListEvent;
44  import org.jsampler.event.SamplerChannelListListener;  import org.jsampler.event.SamplerChannelListListener;
45  import org.jsampler.event.SamplerEvent;  import org.jsampler.event.SamplerEvent;
 import org.jsampler.event.SamplerListener;  
46    
47  import static org.jsampler.view.classic.ClassicI18n.i18n;  import static org.jsampler.view.classic.ClassicI18n.i18n;
48    
# Line 125  public class Statusbar extends JPanel { Line 125  public class Statusbar extends JPanel {
125          private Handler          private Handler
126          getHandler() { return handler; }          getHandler() { return handler; }
127                    
128          private class Handler implements SamplerListener, SamplerChannelListListener {          private class Handler extends SamplerAdapter implements SamplerChannelListListener {
129                  /** Invoked when the total number of active voices is changed. */                  /** Invoked when the total number of active voices is changed. */
130                  public void                  public void
131                  totalVoiceCountChanged(SamplerEvent e) {                  totalVoiceCountChanged(SamplerEvent e) {

Legend:
Removed from v.1142  
changed lines
  Added in v.1143

  ViewVC Help
Powered by ViewVC