|
|
|
@ -48,7 +48,7 @@ public class ChartImagePane extends ChartSelectDemoPane {
|
|
|
|
|
super.paint(g); |
|
|
|
|
|
|
|
|
|
BufferedImage image1 = IOUtils.readImageWithCache(fullIconPath); |
|
|
|
|
int x = (this.getWidth() - IMAGE_HIGTH) / 2; |
|
|
|
|
int x = (this.getWidth() - scale(IMAGE_WIDTH)) / 2; |
|
|
|
|
g.drawImage(image1, x, 0, scale(IMAGE_WIDTH), scale(IMAGE_HIGTH), null); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|