Greetings from jamaica,
I'm having trouble with a netbeans java project. I have two separate classes: A gui class called MainJFrame.java and another class called main.java.
In the MainJFrame form i have a jTextField and a jbutton. How can i pass the jtextfield value to the main.java class by clicking the jbutton?
thanks.
ActionListener
for your JButton.JTextField.getText()