Load image problem, need help!!!

Load image problem, need help!!!

Posted in the Java Forum

Skynet

UK

#1 Aug 13, 2006
Hi i have been given a task at school, this is the task:

Design and implement a GUI program that will allow a user to load and display one of 2 images. The images should be of your own choosing.

You should provide a text area to display the images.

You should provide three buttoms, two of the buttons will load the images and the third will clear the text area.

So far I have been able to do the GUI with the textarea and the three buttons, but i have no idea how to load the image after the button is pressed
If any one knows please help me, I hane only few more days to complete the task thanx in advance

Tell me when this thread is updated:

Subscribe Now Add to my Tracker

Add your comments below

Characters left: 4000

Please note by submitting this form you acknowledge that you have read the Terms of Service and the comment you are posting is in compliance with such terms. Be polite. Inappropriate posts may be removed by the moderator. Send us your feedback.

Java Discussions

Title Updated Last By Comments
Java 8u20 not removing earlier version... (Aug '14) Aug '14 prabha 1
News Free Java book to download: Beginning J2EE 1.4,... (Sep '07) Jul '14 suvankar 52
News Java Architect (Jul '14) Jul '14 Prasad 1
Contest 100 000 (Jun '14) Jun '14 kermekx 1
News Oracle Patches 51 For Java (Oct '13) Oct '13 java nese 1
Big Books Collections (Jun '10) Oct '13 karmina_goal 13
News Google Has Created A Programming Language That ... (Sep '13) Sep '13 commentard 2
More from around the web