FileDocCategorySizeDatePackage
AngledLinesWindowsCornerIcon.javaAPI DocExample1256Mon Jan 09 11:01:58 GMT 2006None

AngledLinesWindowsCornerIcon

public class AngledLinesWindowsCornerIcon extends Object implements Icon
Created by IntelliJ IDEA. User: Jonathan Simon Date: Oct 5, 2004 Time: 6:03:57 PM To change this template use File | Settings | File Templates.

Fields Summary
private static final Color
WHITE_LINE_COLOR
private static final Color
GRAY_LINE_COLOR
private static final int
WIDTH
private static final int
HEIGHT
Constructors Summary
Methods Summary
public intgetIconHeight()




       
        return WIDTH;
    
public intgetIconWidth()

        return HEIGHT;
    
public voidpaintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)


        g.setColor(WHITE_LINE_COLOR);
        g.drawLine(0,12, 12,0);
        g.drawLine(5,12, 12,5);
        g.drawLine(10,12, 12,10);

        g.setColor(GRAY_LINE_COLOR);
        g.drawLine(1,12, 12,1);
        g.drawLine(2,12, 12,2);
        g.drawLine(3,12, 12,3);

        g.drawLine(6,12, 12,6);
        g.drawLine(7,12, 12,7);
        g.drawLine(8,12, 12,8);

        g.drawLine(11,12, 12,11);
        g.drawLine(12,12, 12,12);