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

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

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

revision 1495 by iliev, Fri Aug 10 20:24:23 2007 UTC revision 1496 by iliev, Mon Nov 19 22:22:22 2007 UTC
# Line 23  Line 23 
23  package org.jsampler.view.fantasia;  package org.jsampler.view.fantasia;
24    
25  import java.awt.Graphics;  import java.awt.Graphics;
26    import java.awt.Graphics2D;
27  import java.awt.Insets;  import java.awt.Insets;
28    
29  import javax.swing.BorderFactory;  import javax.swing.BorderFactory;
# Line 68  public class FantasiaListCellRenderer ex Line 69  public class FantasiaListCellRenderer ex
69                                    
70                  protected void                  protected void
71                  paintComponent(Graphics g) {                  paintComponent(Graphics g) {
72                            Graphics2D g2d = (Graphics2D)g;
73                            
74                            g2d.setRenderingHint (
75                                    java.awt.RenderingHints.KEY_TEXT_ANTIALIASING,
76                                    java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_ON
77                            );
78                            
79                          PixmapPane.paintComponent(this, g, Res.gfxCbLabelBg, pixmapInsets);                          PixmapPane.paintComponent(this, g, Res.gfxCbLabelBg, pixmapInsets);
80                          super.paintComponent(g);                          super.paintComponent(g);
81                  }                  }

Legend:
Removed from v.1495  
changed lines
  Added in v.1496

  ViewVC Help
Powered by ViewVC