I made little application and I need help for one I think easy thing but am stack atm with it.
There are 2 Classes with JFrames . One is login and other I GUI and program that does something.Login is connected with Database and all how can I take value from textField where is username and when it passes verification to show up in other GUI class like USER : (name which u first wrote in login frame).
I tried with set get method to and add value to that string for example
String s = textField.getText().toString();
But when I call get method in GUI nothin happens.