Problema Estranho!

Oi bom dia!!!

Sou iniciante em java e gostaria de tirar uma duivida

Estou fazendo uma Agenda Telefonica no Eclipse Juno.

O código não da erro, eu rodo e aparece a tela com o nome dos campos, mas não aparece label e os text não consigo muda-los de posição, eu peguei o codigo daqui do forum e olhando ele fui fazendo a tal agenda, tem um campo que o autor do codigo disse que é la que modifica a posição dos text fields, mas eu mudo os numeros e não acontece nada, alguem poderia me dizer o que esta havendo?

Código:

[code]import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;

public class TV extends JFrame {
JLabel lb_Nome, lb_End, lb_Cep, lb_Num, lb_Complemento, lb_Telres,
lb_TelCel, lb_TelCom, lb_fax;

JTextField tf_Nome, tf_End, tf_Cep, tf_Num, tf_Complemento, tf_Telres,
		tf_TelCel, tf_TelCom, tf_fax;

JButton bt_salvar, bt_fechar;

public TV() {
	setTitle("Agenda Telefônica");
	setSize(800, 600);
	setDefaultCloseOperation(DISPOSE_ON_CLOSE);

	lb_Nome = new JLabel("Nome");
	lb_End = new JLabel("Endereço");
	lb_Cep = new JLabel("Cep");
	lb_Num = new JLabel("Num");
	lb_Complemento = new JLabel("Complemento");
	lb_Telres = new JLabel("Tel.Residencial");
	lb_TelCel = new JLabel("Tel.Celular");
	lb_TelCom = new JLabel("Tel.Comercial");
	lb_fax = new JLabel("Fax");

	tf_Nome = new JTextField("");
	tf_End = new JTextField("");
	tf_Cep = new JTextField("");
	tf_Num = new JTextField("");
	tf_Complemento = new JTextField("");
	tf_Telres = new JTextField("");
	tf_TelCel = new JTextField("");
	tf_TelCom = new JTextField("");
	tf_fax = new JTextField("");

	bt_salvar = new JButton("Salvar");
	bt_fechar = new JButton("Fechar");
	bt_salvar = new JButton("Salvar");

	getContentPane().add(lb_Nome);
	getContentPane().add(lb_End);
	getContentPane().add(lb_Cep);
	getContentPane().add(lb_Num);
	getContentPane().add(lb_Complemento);
	getContentPane().add(lb_Telres);
	getContentPane().add(lb_TelCel);
	getContentPane().add(lb_TelCom);
	getContentPane().add(lb_fax);

	tf_Nome.setBounds(20, 20, 100, 15);
	lb_Nome.setBounds(20, 40, 80, 25);
	tf_End.setBounds(115, 20, 5, 15);
	lb_End.setBounds(115, 40, 150, 25);
	tf_Cep.setBounds(20, 70, 100, 15);
	lb_Cep.setBounds(20, 90, 150, 25);
	tf_Num.setBounds(20, 120, 300, 15);
	lb_Num.setBounds(20, 140, 250, 25);
	tf_Complemento.setBounds(280, 120, 150, 15); //NESSAS LINHAS DAQUI QUE ESTÃO COM ESSAS COORDENADAS QUE EU MUDO E NÃO ACONTECE NADA
	lb_Complemento.setBounds(280, 140, 200, 25);
	tf_Telres.setBounds(20, 170, 200, 15);
	lb_Telres.setBounds(20, 190, 250, 25);
	tf_TelCom.setBounds(20, 220, 150, 15);
	lb_TelCom.setBounds(20, 240, 80, 25);
	tf_fax.setBounds(120, 220, 150, 15);
	lb_fax.setBounds(120, 240, 80, 25);
	bt_salvar.setBounds(20, 270, 150, 15);
	bt_fechar.setBounds(20, 290, 120, 25);
}

public static void main(String args[]) {
	new TV().setVisible(true);

}

}
[/code]

LipezinSouza,
Mudei as coordenadas pq quando rodei ficou tudo estranho, segue o código para você continuar os estudos.
Adicionei também um JPanel.

Adicione esse import

import javax.swing.JPanel;

Adicione o Jpanel no escopo da classe

	private JPanel contentPane;

public TV() {
		setTitle("Agenda Telefônica");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(0, 0, 800, 600);//Mude aqui a para o tamanho desejado
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);//Absolute Layout

		lb_Nome = new JLabel("Nome");
		lb_End = new JLabel("Endereço");
		lb_Cep = new JLabel("Cep");
		lb_Num = new JLabel("Num");
		lb_Complemento = new JLabel("Complemento");
		lb_Telres = new JLabel("Tel.Residencial");
		lb_TelCel = new JLabel("Tel.Celular");
		lb_TelCom = new JLabel("Tel.Comercial");
		lb_fax = new JLabel("Fax");

		tf_Nome = new JTextField("");
		tf_End = new JTextField("");
		tf_Cep = new JTextField("");
		tf_Num = new JTextField("");
		tf_Complemento = new JTextField("");
		tf_Telres = new JTextField("");
		tf_TelCel = new JTextField("");
		tf_TelCom = new JTextField("");
		tf_fax = new JTextField("");

		bt_salvar = new JButton("Salvar");
		bt_fechar = new JButton("Fechar");
		bt_salvar = new JButton("Salvar");


		tf_Nome.setBounds(20, 30, 430, 20);
		lb_Nome.setBounds(20, 10, 80, 20);
		tf_End.setBounds(20, 70, 314, 20);
		lb_End.setBounds(20, 50, 150, 20);
		tf_Cep.setBounds(350, 110, 100, 20);
		lb_Cep.setBounds(350, 90, 100, 20);
		tf_Num.setBounds(350, 70, 100, 20);
		lb_Num.setBounds(350, 50, 80, 20);
		tf_Complemento.setBounds(20, 120, 150, 20); 
		lb_Complemento.setBounds(20, 100, 150, 20);
		tf_Telres.setBounds(20, 170, 150, 20);
		lb_Telres.setBounds(20, 150, 250, 20);
		tf_TelCom.setBounds(20, 220, 150, 20);
		lb_TelCom.setBounds(20, 200, 80, 20);
		tf_fax.setBounds(200, 220, 150, 20);
		lb_fax.setBounds(200, 200, 80, 20);
		bt_salvar.setBounds(20, 270, 150, 25);
		bt_fechar.setBounds(200, 270, 150, 25);

		getContentPane().add(lb_Nome);
		getContentPane().add(lb_End);
		getContentPane().add(lb_Cep);
		getContentPane().add(lb_Num);
		getContentPane().add(lb_Complemento);
		getContentPane().add(lb_Telres);
		getContentPane().add(lb_TelCel);
		getContentPane().add(lb_TelCom);
		getContentPane().add(lb_fax);

		getContentPane().add(tf_Nome);
		getContentPane().add(tf_End);
		getContentPane().add(tf_Cep);
		getContentPane().add(tf_Num);
		getContentPane().add(tf_Complemento);
		getContentPane().add(tf_Telres);
		getContentPane().add(tf_TelCel);
		getContentPane().add(tf_TelCom);
		getContentPane().add(tf_fax);
		getContentPane().add(bt_salvar);
		getContentPane().add(bt_fechar);

	}

Abraço!

EU não consigo add o private JPanel contentPane;

ta dando erro, sera q to colocando no lugar errado!!

Nossa, usar Swing sem usar uma IDE (prefira, nesse caso, o Eclipse com o plugin WindowBuilder) é complicado. Nem tento ler um programa desses (em que os componentes foram adicionados na mão) porque sempre tem alguma coisa que foi adicionada no lugar errado e posicionada no lugar errado. Eu uso o WindowBuilder porque ele saber que um JPanel tem de ser adicionado a um JFrame de um determinado jeito, e um JTextField tem de ser adicionado em um JPanel de um outro determinado jeito, seguindo uma hierarquia determinada.

[quote=LipezinSouza]EU não consigo add o private JPanel contentPane;
ta dando erro, sera q to colocando no lugar errado!![/quote]
Declare no mesmo lugar onde decla os JLabel.
Também uso WindowsBuilder, uso pouco sou mais web.
Mas pra aprender é bom fazer na unha, mas pouco produtivo.