Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA help! Objective: For this assignment, you will demonstrate that you can create a Java program with a simple GUI. You will demonstrate the proper

JAVA help!

image text in transcribed

image text in transcribed

image text in transcribed

Objective: For this assignment, you will demonstrate that you can create a Java program with a simple GUI. You will demonstrate the proper usage of null value checking to provide the user with appropriate feedback to assist their data entry. Your program will also demonstrate the ability to properly respond to events caused by the user's interactions. Description: The ability to properly create and configure graphical user interfaces is crucial in today's era of visual computing. For this assignment, you will implement a simple madlib generator that collects multiple data points from the end user, allows the user to either submit their entries for processing or clear all entries and start over, and lastly collate the user's input and create a madlib that is output into a separate area of the GUI. Assignment: Create a GUI Java class that performs the following: You may complete this homework assignment either by manually generated code, or by using the Eclipse Windowbuilder visual designer o anually creating your own code will lead to challenges regarding component placement and overall layout setPreferredSize0 & .setBoundsO methods can assist you witlh controlling the positioning of components o Your program must collect at least 5 data points from the end user When the user clicks the "Submit" button: Your program must check that each of the 5 text fields have data in them or else present the user with an error dialog similar to that shown below in Figure 1 o The error message must give specific direction to the user as to which entry needs fixed, not just be a generic error message . Generate the madlib paragraph using the user's data entry and attach it to the text output area When the user clicks the Reset" button: All text fields are cleared .The text output area is cleared (if necessary) o See Figure 2 below for example output

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

Step: 3

blur-text-image

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

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago