Hey all,
Basically i havn't programmed for quite a while now and am trying to get back into it, i am trying to make a little application with a JFrame, and here is the code I have produced...
Basically, I have created a little JFrame with some layout and 2 main buttons...and this is in a file called titleFrame.java....what I want to do though, is when the 'New' Button is pressed, i would like it to call another seperate class i have created, main.java....whereby in that
java file it is like this one, but with different buttons and all....
I think this is really simple to achieve, i just simply cannot remmeber what to do, if anyone can help it would be superb! Also, when the 'Exit' button is pushed, what is the correct syntax to close the JFrame, I need to catch back up on this but im starting to get back into it.
Mank Thanks,
Ben