Hi There,
I am having a bit of trouble understanding textbox's in GUI's, what i want to do is to assign the value in the userName textbox to a String variable and the same with the password... here is the code for the username section.
userName = new JTextField();
jPanel1.add(userName);
userName.setBounds(164, 109, 123, 21);
userName.addKeyListener(new KeyAdapter() {
public void keyTyped(KeyEvent evt) {
}
and here is the code for the password section
password = new JPasswordField();
jPanel1.add(password);
password.setBounds(165, 143, 122, 21);
I am using Jigloo for the GUI and really dont understand GUI's well.
Thanks