Question: /** * * @author IST240 Group 5 */ import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JPanel; public class CreditPanel extends JPanel implements ActionListener

/**
*
* @author IST240 Group 5
*/
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
public class CreditPanel extends JPanel implements ActionListener {
JButton backToHome;
CreditTopPanel creditTopPanel;
public CreditPanel() {
super();
BorderLayout border = new BorderLayout();
setLayout(border);
creditTopPanel = new CreditTopPanel();
add(creditTopPanel, BorderLayout.CENTER);
backToHome = new JButton("Main Menu");
backToHome.addActionListener(this);
add(backToHome, BorderLayout.SOUTH);
}
@Override
public void actionPerformed(ActionEvent event) {
Object obj = event.getSource();
if (obj == backToHome) {
removeAll();
IntroPanel intro = new IntroPanel();
add(intro);
repaint();
revalidate();
}
}
}
This is what I have so far please add to it
 /** * * @author IST240 Group 5 */ import java.awt.BorderLayout; import
java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JPanel; public class CreditPanel extends JPanel

What will be assessed 1. Develop, test, and execute a graphics application for simulations using Java. 1. Create a Java application 2. Given a set of events, choose the resulting programming actions. 3. Understand the principles behind Java. Understand the basic principles of object oriented programming including classes and inheritance. Deliverables . .java files as requested below

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!