Ignore:
Timestamp:
08/05/08 12:42:33 (16 years ago)
Author:
ra33
Message:

Resizable, recolorable borders now available for IW's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Popup.java

    r183 r188  
    1111import javax.swing.JComponent;
    1212import javax.swing.JPanel;
    13 
    14 import org.expeditee.items.WidgetCorner;
    1513
    1614/**
     
    2725public abstract class Popup extends JPanel {
    2826       
    29         public static final float BORDER_THICKNESS = WidgetCorner.BORDER_THICKNESS;
     27        public static final float BORDER_THICKNESS = 0.0F;
    3028        private static final Stroke _lineStroke = new BasicStroke(BORDER_THICKNESS);
    3129       
     
    5856                super.paint(g);
    5957                // Draw iwidget-like border for consistancy
    60                 ((Graphics2D)g).setStroke(_lineStroke);
    61                 g.drawRect(0, 0, getWidth(), getHeight());
     58//              ((Graphics2D)g).setStroke(_lineStroke);
     59//              g.drawRect(0, 0, getWidth(), getHeight());
    6260        }
    6361       
Note: See TracChangeset for help on using the changeset viewer.