Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class GUI extends JFrame{
- private JTextField blabla;
- public GUI() {
- setBounds(100, 100, 453, 183);
- setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- getContentPane().setLayout(null);
- setResizable(false);
- setLocationRelativeTo(null);
- setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- setTitle("this is text...");
- JLabel lbllol = DefaultComponentFactory.getInstance().createTitle("this is text...");
- lbllol.setForeground(Color.BLACK);
- lbllol.setFont(new Font("Arial Black", Font.PLAIN, 20));
- lbllol.setBounds(57, 11, 253, 36);
- getContentPane().add(lbllol);
- JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("this is text...");
- lblNewJgoodiesTitle.setFont(new Font("Arial Black", Font.PLAIN, 13));
- lblNewJgoodiesTitle.setBounds(320, 21, 105, 21);
- getContentPane().add(lblNewJgoodiesTitle);
- JLabel lblNewJgoodiesLabel = DefaultComponentFactory.getInstance().createLabel("this is text...");
- lblNewJgoodiesLabel.setFont(new Font("Calibri", Font.PLAIN, 16));
- lblNewJgoodiesLabel.setBounds(10, 69, 258, 44);
- getContentPane().add(lblNewJgoodiesLabel);
- lblNewJgoodiesLabel.setToolTipText("this is text...");
- Button startButton = new Button("this is text...");
- startButton.setFont(new Font("Dialog", Font.PLAIN, 14));
- startButton.setBounds(301, 85, 90, 28);
- getContentPane().add(startButton);
- JLabel lblNewJgoodiesLabel_1 = DefaultComponentFactory.getInstance().createLabel("this is text...");
- lblNewJgoodiesLabel_1.setFont(new Font("Tahoma", Font.BOLD, 11));
- lblNewJgoodiesLabel_1.setBounds(174, 45, 217, 36);
- getContentPane().add(lblNewJgoodiesLabel_1);
- blabla = new JTextField();
- blabla.setBounds(94, 81, 42, 20);
- getContentPane().add(blabla);
- blabla.setColumns(10);
- blabla.setToolTipText("this is text...");
- setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement