Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 BlueJ - Help please, Array Needed?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Steinmetz




PostPosted: 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
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: