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; |
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 |
} |
} |