Advertisement
gtw7375

SEPARAÇAO - JAVA GUI

Sep 1st, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. cabeçalho:
  2.  
  3.  
  4. public class .... {
  5.  
  6. JRadioButton Jrb_masc, jrb_Fem;
  7. // PARTE 1
  8.  
  9.  
  10. public metodo() {
  11.  
  12. jrb_masc = new JRadioButton("Masculino");
  13. jrb_fem = new JRadioButton("Feminino");
  14. // PARTE 2
  15.  
  16.  
  17. getContentPane().add(Jrb_masc);
  18. getContentPane().add(Jrb_fem);
  19. // PARTE 3
  20.  
  21.  
  22.  
  23. Jrb_masc.setBounds(100,200,300,100);
  24. Jrb_fem.setBounds(100,200,300,100);
  25. // PARTE 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement