Advertisement
Guest User

BackColor

a guest
Aug 30th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
J 0.21 KB | None | 0 0
  1.  
  2.         bt1 = new JButton("Inscription");
  3.         add(bt1);
  4.         bt1.setBounds(650, 600, 140, 40);
  5.         this.bt1.setBackground(Color.GREEN);
  6.         bt1.setForeground(Color.green);
  7.         bt1.setFont(new Font("Serif",Font.BOLD,20));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement