Asi, pero no hay resultados... no me esta dejando espacios para nada.
Código Java:
Ver originalpublic class ConnectionData
extends JPanel{
public ConnectionData(){
this.setLayout(gbl);
this.
LB_1 = new JLabel("LB_1"); this.
LB_2 = new JLabel("LB_2:");
gbc.gridwidth = 1;
gbc.gridheight = 1;
gbc.gridx = 0;
gbc.gridy = 0;
this.add(LB_1, gbc);
gbc.gridwidth = 1;
gbc.gridheight = 1;
gbc.gridx = 2;
gbc.gridy = 0;
this.add(TEXT_1, gbc);
gbc.gridwidth = 1;
gbc.gridheight = 1;
gbc.gridx = 6;
gbc.gridy = 0;
this.add(LB_2, gbc);
gbc.gridwidth = 1;
gbc.gridheight = 1;
gbc.gridx = 8;
gbc.gridy = 0;
this.add(TEXT_2, gbc);
}
}