I have two JFrames login.java and account.java I need to get the username from the login.java page and put it in a v
login.java
account.java
username
Well you have very nice way to do it.
Define new Static Final Objects of that class. and Save that value into the Object.
and in other Class u can easily use that objects and as well as that values. By using
CLASSNAME.OBJECT VALUE.
use that.