100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

CE203 Java Application Programming Assignment

Rating
-
Sold
-
Pages
8
Uploaded on
07-06-2021
Written in
2019/2020

This includes the assignment questions, answers and feedback. This work got an 80% grade.









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
June 7, 2021
File latest updated on
June 7, 2021
Number of pages
8
Written in
2019/2020
Type
Other
Person
Unknown

Content preview

Assignment 1_Testing_RegNo_<fv18727>

a) Add a word to the list (the word to be added is provided in a text field at the bottom of the
application).

In order to simplify the task I have decided to create Panels for each section i.e a TopPanel for the
Buttons, a MiddlePanel for the LABEL output and a BottomPanel for the user TextInput and RGB
input. I have done this by creating three different methods that return the panels accordingly.

Later to add each of this panel to a mainPanel in the main method.




I have also created a class Operations that consists of different methods that provide corresponding
features; public boolean validate(String w) - checks if the input string is a valid word and returns true for
valid and false otherwise;




With the help of this method the program is able to identify if an input String is a valid word.

However, we would not see any effect if there wasn't an event handling, thus we implement an action
listener to respond to the user’s indication.
£15.38
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
filipasa99

Also available in package deal

Thumbnail
Package deal
Ce203 Java Programming Assignment (2019)
-
4 2021
£ 30.63 More info

Get to know the seller

Seller avatar
filipasa99 The University of Essex
View profile
Follow You need to be logged in order to follow users or courses
Sold
3
Member since
5 year
Number of followers
3
Documents
0
Last sold
3 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions