andreokoth 0 Newbie Poster

Hi every one,

I am new to java and am making an application where the main window has buttons and menus to be clicked.i cant find the code to use on the button so that when i click the button the window i want is displayed.e.g;
i have:
mainpage.java and students.java,

i want it that when i click a button on mainpage.java, then students.java appers.

just that...