Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

/** * * @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
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

Students also viewed these Databases questions