Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Help with Java assignment
This is my java assignment. I really need help with it.
It is basicallY a Cyber Pet program where in you make the use of a GUI. Here is the file that you can download the whole question from. http://www.mediafire.com/?gfw9c16tubdlf
You gotta have 2 packages : One for the GUI and the other for the CyberPet. The GUI package contains the GUI code . In the GUI package, there are 2 GUI.
GUI1 is a normal interface where it asks the user to choose the pet he/she wants. The feature of naming the pet also includes in this.
You can refer to this link .. I want the GUI to be somethin like this .. http://download.oracle.com/javase/tutorial/uiswing/components/combobox.html
Check out the combo box demo .. It should display the picture while selecting the choice of the pet.
GUI1 also has a button named "Enter".
When you click on ENTER , it takes you to another frame that has displays the picture of the pet in the centre.
The GUI2 should possess a