17 |
along with this library; if not, write to the Free Software Foundation |
along with this library; if not, write to the Free Software Foundation |
18 |
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. */ |
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. */ |
19 |
|
|
20 |
|
import java.awt.List; |
21 |
import java.util.*; |
import java.util.*; |
22 |
import java.awt.*; |
import java.awt.*; |
23 |
import java.awt.event.*; |
import java.awt.event.*; |
324 |
{ |
{ |
325 |
public void paint (Graphics g) |
public void paint (Graphics g) |
326 |
{ |
{ |
327 |
Dimension d = getSize(); |
Dimension d = this.getSize(); |
328 |
g.setColor (Color.white); |
g.setColor (Color.white); |
329 |
g.fillRect (0, 0, d.width, d.height/2); |
g.fillRect (0, 0, d.width, d.height/2); |
330 |
g.setColor (Color.black); |
g.setColor (Color.black); |
331 |
g.fillRect (0, d.height/2, d.width, d.height/2); |
g.fillRect (0, d.height/2, d.width, d.height/2); |
332 |
g.setColor (getBackground()); |
g.setColor (this.getBackground()); |
333 |
g.fillRect (d.width/3, d.height/3, d.width/3, |
g.fillRect (d.width/3, d.height/3, d.width/3, |
334 |
d.height/3); |
d.height/3); |
335 |
} |
} |