I am working on a project using netbeans to write a program for a database creation and MS Access as my DB. I designed the login form using Netbeans JFrame option I am able to call up the next window but I dont know how to write the part of the code that should make the login window go off at the same single click that prompts the Application Form window.
The login form should be able to access a database where possible login ID and password have been saved.
A full source code on a login form design and a button that calls up the next window and disposes of the login form would be highly appreciated.

