Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Font times = new Font("Times New Roman", Font.CENTER_BASELINE, 13);
- JLabel mess = new JLabel();
- mess.setFont(times);
- mess.setLocation(300, 125);
- mess.setSize(250, 200);
- mess.setText(message);
- mess.setForeground(Color.WHITE);
- getContentPane().add(mess);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement