What is this pack() method for?
Here is what I want to perform
On the first page of my application I have a login, create new account, change password buttons with two text boxes(user name and password). By clicking each of the button a new window(jfram) should open with a specific task. for example on Clicking the login button(with username and password filled) a new jfram should be opened.