blob: 15f1f998c85c9c1ce138ffeb732e372e9cbec98d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package NET.worlds.console;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Panel;
public class ExposedPanel extends Panel {
private static final long serialVersionUID = 6772016496031107748L;
public ExposedPanel() {
this.setBackground(Color.white);
}
@Override
public void paint(Graphics g) {
g.setColor(this.getBackground());
g.fillRect(0, 0, this.getSize().width, this.getSize().height);
}
}
|