Monday, April 25, 2016

Java Assessment item 3 Task 3

7:38 PM

Share it Please
Java Assessment item 3 Task 3

Value: 4 marks

Write a Java programs which displays a frame that contains three labels. Each label displays a card, as shown in the figure below. The card image files are named 1.png, 2.png, ..., 54.png and stored in the image/card directory. All three cards are distinct and selected randomly.

The image icons used in the questions are available in the Resource folder of Interact



Your Task:
1.       Create three JLabel and set their icons using the images.

2.       Display three images from 54 image cards randomly.

0 comments:

Post a Comment