|
|
|
@ -352,8 +352,10 @@ public class XWCardMainBorderLayout extends XWBorderLayout {
|
|
|
|
|
@Override |
|
|
|
|
public void paintBorder(Graphics g, Rectangle bounds){ |
|
|
|
|
if (isDragInAble()) { |
|
|
|
|
Color oldColor = g.getColor(); |
|
|
|
|
g.setColor(OUTER_BORDER_COLOR); |
|
|
|
|
GraphHelper.draw(g, new Rectangle(bounds.x - BORDER_WIDTH, bounds.y - BORDER_WIDTH, bounds.width + BORDER_WIDTH + 3, bounds.height + BORDER_WIDTH + 3), Constants.LINE_LARGE); |
|
|
|
|
g.setColor(oldColor); |
|
|
|
|
} |
|
|
|
|
if (!isMouseEnter) { |
|
|
|
|
super.paintBorder(g, bounds); |
|
|
|
|