I am doing a GUI in swings using Netbeans IDE. I have two frames
AudioVideostreaming.java
Audiostreaming.java
There is button called "Audiostreaming" in AudioVideostreaming.java file. When this button is clicked I want that the AudioVideostreaming.java frame is closed and Audiostreaming.java frame is opened. What code should I include in AudiostreamingbuttonActionperformed() method to do this?