1 15 16 package swingwtx.swing.border; 17 18 import swingwt.awt.*; 19 20 public class EtchedBorder extends AbstractBorder implements Border { 21 public static final int RAISED = 0; 22 public static final int LOWERED = 1; 23 protected int etchType = RAISED; 24 25 public EtchedBorder() { this(LOWERED); } 26 public EtchedBorder(int etchType) { this(etchType, null, null); } 27 public EtchedBorder(Color highlight, Color shadow) { this(LOWERED, highlight, shadow); } 28 public EtchedBorder(int etchType, Color highlight, Color shadow) { this.etchType = etchType; } 29 30 } 31 | Popular Tags |