Question: i bulid library management system and i use two button to connect two frame use homepage button to go to homepage frame then use back

i bulid library management system and i use two button to connect two frame use homepage button to go to homepage frame then use back button go back to menu

i use this method is work for homepage button but when i use same method not work for back button i bulid library management system and i use two button to connect i change my homepage public static void main to two frame use homepage button to go to homepage frame then use plz help me to figure out method work for two button (this is java program use eclipse)

JButton btnNewButton new JButton( "Homepage"); btnNewButton.addActionListener(new ActionListener) public void actionPerformed (ActionEvent arge) frame.dispose) Homepage sc- new Homepage); sc Screen)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!