Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cabeçalho:
- public class .... {
- JRadioButton Jrb_masc, jrb_Fem;
- // PARTE 1
- public metodo() {
- jrb_masc = new JRadioButton("Masculino");
- jrb_fem = new JRadioButton("Feminino");
- // PARTE 2
- getContentPane().add(Jrb_masc);
- getContentPane().add(Jrb_fem);
- // PARTE 3
- Jrb_masc.setBounds(100,200,300,100);
- Jrb_fem.setBounds(100,200,300,100);
- // PARTE 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement