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();