FileDocCategorySizeDatePackage
EtchedLabel.javaAPI DocExample639Sun Dec 27 14:20:54 GMT 1998None

EtchedLabel

public class EtchedLabel extends Canvas implements Serializable

Fields Summary
Constructors Summary
public EtchedLabel()

	   setSize (350,150);
    
Methods Summary
public java.awt.DimensiongetMinimumSize()

	return new Dimension (50, 70);
    
public java.awt.DimensiongetPreferredSize()

	return new Dimension (350, 150);
    
public voidpaint(java.awt.Graphics g)

	   g.setFont (new Font ("Times", Font.ITALIC+Font.BOLD, 28));

	   g.setColor (Color.red);
	   g.drawString ("Etched Label", 100, 100);

	   g.setColor (Color.black);
	   g.drawString ("Etched Label", 101, 101);