I want to create a windows appliation in java using Swing in Netbeans. I want to create the student maintenance details, with Mysql as backend. I dont know how to load the frames in single form. Example, if the user give user name and password in the text box and then click the login button, it will load the next frame in same form like web application. If the user click the forgot password button it will load the forget password frame in the same form. Any one can reply this with sample code detaily. Please!