AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Draw a line in an Image

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> 3D Graphics API's for Java
View previous topic :: View next topic  
Author Message
Schani
Guest





PostPosted: Sun Feb 26, 2006 3:12 pm    Post subject: Draw a line in an Image Reply with quote



Hi,

I have a Program, where you can load an Image. This is shown as a ImageIcon
in a JPanel.
Furthermore I want to create a button, where I can press on it and the
program will draw a line
in this Image. It should be possible, that the JPanel displays the pic with
the line after using this button.
It should also be possible, that the "new" pic is an Image object again.

I know, that i have to use the Graphics package, but i dont know how.
Can you help me to solve my problem, please?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> 3D Graphics API's for Java All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.