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

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

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

revision 1751 by iliev, Mon Nov 19 22:22:22 2007 UTC revision 1752 by iliev, Mon Aug 11 22:51:24 2008 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-2007 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2008 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 29  import java.awt.Insets; Line 29  import java.awt.Insets;
29  import javax.swing.BorderFactory;  import javax.swing.BorderFactory;
30  import javax.swing.JLabel;  import javax.swing.JLabel;
31    
32    import javax.swing.plaf.basic.BasicLabelUI;
33    
34  /**  /**
35   *   *
# Line 69  public class FantasiaLabel extends JLabe Line 70  public class FantasiaLabel extends JLabe
70                  PixmapPane.paintComponent(this, g, Res.gfxTextField, pixmapInsets);                  PixmapPane.paintComponent(this, g, Res.gfxTextField, pixmapInsets);
71                  super.paintComponent(g);                  super.paintComponent(g);
72          }          }
73                    
74            public void
75            updateUI() { setUI(new BasicLabelUI()); }
76                    
77          public java.awt.Color          public java.awt.Color
78          getForeground() { return textColor; }          getForeground() { return textColor; }

Legend:
Removed from v.1751  
changed lines
  Added in v.1752

  ViewVC Help
Powered by ViewVC