I am new to java.I use net beans as my IDE.When i open my application ,Then i want to start a new interface.I want to start the new interface with disabling the current interface.How to do it?