01: // The UMLet source code is distributed under the terms of the GPL; see license.txt
02: /*
03: * Created on 21.07.2003
04: *
05: * To change the template for this generated file go to
06: * Window>Preferences>Java>Code Generation>Code and Comments
07: */
08: package com.umlet.control;
09:
10: import java.awt.*;
11:
12: import javax.swing.*;
13:
14: /**
15: * @author unknown
16: *
17: * To change the template for this generated type comment go to
18: * Window>Preferences>Java>Code Generation>Code and Comments
19: */
20: public class SelectorFrame extends JComponent {
21:
22: /* (non-Javadoc)
23: * @see java.awt.Component#paint(java.awt.Graphics)
24: */
25: public void paint(Graphics g) {
26: Graphics2D g2 = (Graphics2D) g;
27: g2.setColor(Color.black);
28: g2.setStroke(Constants.getStroke(1, 1));
29: g2.drawRect(0, 0, getWidth() - 1, getHeight() - 1);
30: }
31:
32: }
|