Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //dentro del constructor
- JLabel lbl2 = new JLabel("Nota 2:");
- lbl2.setFont(new Font("Tahoma", Font.PLAIN, 12));
- lbl2.setBounds(35, 66, 46, 25);
- panel.add(lbl2);
- nota2 = new JTextField();
- nota2.setBounds(91, 102, 136, 25);
- panel.add(nota2);
- JLabel lbl3 = new JLabel("Nota 3:");
- lbl3.setFont(new Font("Tahoma", Font.PLAIN, 12));
- lbl3.setBounds(35, 101, 46, 25);
- panel.add(lbl3);
- nota3 = new JTextField();
- nota3.setBounds(91, 67, 136, 25);
- panel.add(nota3);
- JLabel lblTP = new JLabel("TP:");
- lblTP.setFont(new Font("Tahoma", Font.PLAIN, 12));
- lblTP.setBounds(45, 136, 34, 25);
- panel.add(lblTP);
- comboTP = new JComboBox<>(new String[]{"Aprobado", "Desaprobado"});
- comboTP.setBounds(91, 137, 136, 25);
- panel.add(comboTP);
- getContentPane().add(panel);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement