@Override
public void keyPressed(KeyEvent e)
{
if (e.getKeyChar() == 'a' ){
String myS = myField.getText();
myLabel.setText(myS);
myLabel2.setText(“”);
}
}
Can someone explain to me what this code actually does
I'm trying to figure out what it does.
Thanks
Grot