FileDocCategorySizeDatePackage
VectorButtonTest.javaAPI DocExample712Mon Jan 09 11:02:00 GMT 2006None

VectorButtonTest

public class VectorButtonTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        JFrame frame = new JFrame();
        JButton vb = new VectorButton();
        vb.setFont(new Font("Dialog",Font.PLAIN,36));
        vb.setForeground(new Color(50,50,255));
        vb.setBackground(Color.white);
        vb.setForeground(new Color(50,255,0));
        vb.setText("Button");
        // vb.setMargin(new Insets(0,30,0,30));
        vb.setBorderPainted(false);
        frame.getContentPane().add(vb);
        frame.pack();
        frame.show();