Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java help. I am stuck on what to do to correct this error. package jhistoricalfacts; import import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing. JButton; import javax.swing.

Java help. I am stuck on what to do to correct this error. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
package jhistoricalfacts; import import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing. JButton; import javax.swing. JFrame; import javax.swing.JLabel; java.awt . FlowLayout; public class JHistoricalFacts extends JFrame implements Action final int APPLICATION_WIDTH 350; 200; final int APPLICATIONHEIGHT - String fact! = "June 30, 1953 the Chevy Corevtte went String fact2 "In 1964 Carroll Shelby called the must String fact3"As of February 25, 2018 the Koenigsegg String fact4 String fact5"The Corvette ZR1 is known as a giant k + "after he was asked to turn it into +"at 278 MPH "Hennessey Venom F5 has a claimed top s + "yet to be offically tested."; + "for 120,000 the car comes with a LT5 V8 and 755 H + "0-60 2.9 to 3.3, 0-100 6.6 to 7.4, top speed of JLabel factLable1 = new JLabel("FACT-1" ) ; JLabel factLable2new JLabel("FACT-2"): JLabel factLable3 new JLabel("FACT-3" ) ; JLabel factLable4 new JLabel("FACT-4" ) ; JLabel factLable5 new JLabeL("FACT-5"): JButton but tonFacts new JButton ("Display Facts"); private static int count = 0; public JHistoricalFacts() 8 9 setTitle("Book Quote 2"); setSize(APPLICATION_WIDTH, APPLICATION HEIGHT); setLayout (new FlowLayout()): 43 45 47

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions