CSIT121 - Object Oriented Design and Programming - Java Programming with GUI - Engineering Assignment Help

Download Solution Order New Solution
Assignment Task:
CSIT121: Object-Oriented Design and Programming Engineering Assignment Help

Objectives:
Practice java programming with GUI, Collections, Lambdas and Streams

 

CSIT121: Object-Oriented Design and Programming Engineering Assignment Help

in GUI term, we call these pigeonholes buttons. And the buttons are initialized to some images (feel free to choose your preferable image). You can let all the buttons all have the same images to start with or different images.

Most of the times, we get some VIP’s to open some of the pigeonholes. The ones who own the called numbers probably win some prizes. You are asked to design this application for someone who would like to adopt this idea for lucky draw. In the above diagram, each button stores a distinct integer value, for example, from 1 to 64, since we have 8 rows and 8 columns. Feel free to change to other size, but must be at least 6 rows and 6 columns; preferable to be a square of n x n so that n lucky numbers will be drawn.

You should not assume that button 1 stores number 1, button 2 stores number 2 and etc. A bit too easy, if you do so!!! You should actually randomly shuffle all the 64 numbers and store them inside the buttons. On the party or the lucky draw day, you should randomly generate the 8 (Why 8? Because most of the Chinese’s like this number) lucky buttons and highlight the eight numbers drawn. You can choose probably the 1st number or the last number generated to be the top prize. Try to have some background or foreground colors to distinguish them; and the fonts look “bigger” for the winning numbers. The following shows the final outcome when anyone of the buttons is “pressed”: (The winning numbers are highlighted in blue, and top prize is number 39)

 

CSIT121: Object-Oriented Design and Programming Engineering Assignment Help

For your design, use GridLayout to arrange for the layout of the GUI components, explore the following features in your design:
- array of JButton / JTextField / Icon / ImageIcon etc
- The use of List, Arrays etc collections
- Lambda and streams

Task 2:
You can store the winning numbers in an array and “sort” them; Of course, I do no expect you to implement the sorting method. You are working on functional programming; Uncle Lambda can help you to achieve this target. If you have done Task 1 and Task 2, the following panel will be displayed too:

 

CSIT121: Object-Oriented Design and Programming Engineering Assignment Help

 


This CSIT121: Engineering Assignment has been solved by our Engineering experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.