Fixed it.
public void actionPerformed (ActionEvent ae)
{
String veldinhoud = uitvoerVeld.getText();
uitvoerVeld.setText(invoerVeld.getText());
invoerVeld.setText(veldinhoud);...
Type: Posts; User: jellescheer
Fixed it.
public void actionPerformed (ActionEvent ae)
{
String veldinhoud = uitvoerVeld.getText();
uitvoerVeld.setText(invoerVeld.getText());
invoerVeld.setText(veldinhoud);...
Tried this:
public void actionPerformed (ActionEvent ae)
{
String veldinhoud = invoerVeld.getText();
uitvoerVeld.setText(invoerVeld.getText());...
How would I do this?:) Sorry, really new in Java.
This code generates 2 text fields and one button. Typing a text in the first textfield and then pressing on the button, copies the text from the first textfield (invoerVeld) to the second textfield...