How to pass values entered in one JFrame\'s text field as an input parameter in other JFrame?
Entered user name and password in first JFrame through
JFrame
first create publicly static type variable
public static JTextField txt2; public JTextField txt1,button1;
//action button1 in 1st JFrame
JFrame2.setVisible(true); JFrame2.txt2.setText(Me.txt1.getText());