A
Aaron Fude
Hi,
If my overridden paintComponent starts with
public void paintComponent(Graphics g) {
super.paintComponent(g);
should that draw the right background color. I thought yes, but I
discovered no and I have to do?
g.setColor(getBackground());
g.fillRect(0, 0, getWidth(), getHeight());
Am I doing the right thing or missing something?
If my overridden paintComponent starts with
public void paintComponent(Graphics g) {
super.paintComponent(g);
should that draw the right background color. I thought yes, but I
discovered no and I have to do?
g.setColor(getBackground());
g.fillRect(0, 0, getWidth(), getHeight());
Am I doing the right thing or missing something?