View unanswered posts | View active topics It is currently Thu Apr 30, 2026 10:11 pm



Reply to topic  [ 1 post ] 
 OFF-TOPIC 
Author Message
Corporal

Joined: Sat Jun 30, 2001 2:00 am
Posts: 5
Unread post 
Hi I know this is WAY off topic and I apologize but I can't find help anywhere else and i know the J-Twat people read this. Here's my problem In my system design and analysis class we have to create a console app using J++. The app is a simple calculator that shows a happy face when the answer is positive and a sad face when negative. This being my first java program has me a delima :) I don't know how!.. I have to calculator working great but i can't get it to show a GIF. here is the code i have for the picture

public void face (Graphic g)

Image smile = getImage(getCodeBase(), "smile.gif");
g.drawImage(smile,0,0,this);

I get the error Graphics doesn't have method drawimage(image, int, int, obeserver)

can someone please help me out?


"An Eagle can't soar unless the sky is limitless"


Mon Oct 08, 2001 10:11 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.