Poque o botao e a label ficao do tamanho dah tela
a propriedade label.setBounds parece nao funcionar
alguem podi me ajudar ?
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JButton;
public class janela extends JFrame{
public janela() {}
	
public static void main(String args[])  {
  	   
   janela aa = new janela();
   aa.setTitle("Primeiro Programa");
   aa.setBounds(150,20,500,520);
   
   JLabel label = new JLabel();
   label.setText("Caption");
   label.setBounds(50,50,50,50);	   
   label.setText("Caption");
   
   JButton button = new JButton();
   button.setText("Clique aqui");
   button.setBounds(50,50,50,50);
   
   aa.getContentPane().add(label);
   aa.getContentPane().add(button);
   aa.show();
}	
}
