Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to display a jpg image within blueJ

807591Mar 10 2008 — edited Mar 11 2008
i'm currently designing a text based game using blueJ. as a part of my game, the user can type "map" as a command to display an image of the map of the game world. however, i'm curious as to how i'm meant to start implementing this command.

would i need a separate class for displaying an image?

where do i store the actual image file?

how do i call the image method from another class?

is there any other information i need to complete my task?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2008
Added on Mar 10 2008
5 comments
773 views