BlueJ - Help please, Array Needed?
Author |
Message |
Steinmetz
|
Posted: Wed Jun 11, 2008 3:34 am Post subject: BlueJ - Help please, Array Needed? |
|
|
Hiya, Im currently doing a GUI Picture Quiz using BlueJ, I pretty much archieved what I am after. But I wish to use two classes. (One with the code that uses the images and displays the buttons, and the other class with the answers to those buttons)
Ok, so my GUI PictureQuiz so far is about 5 Images (Say colours), and a choice of 5 buttons (With each colour), I have all the buttons and images in my First class (Class1) and so far my second class is empty (Class2) I used arrays before using visual basic but bluej is confusing me and no help when coding.
So what I need help is, Calling from class2 when the GUI is up and If I select the correct answer, the second image will appear. And if the answer is wrong. Either display the correct answer and move question two, or just restart using a loop.
Any ideas how I can get this to work? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
|
|