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 

Painting over

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
Nnnnaz
Guest





PostPosted: Sat May 06, 2006 3:07 pm    Post subject: Painting over Reply with quote



Hello,

I have written code to generate "Fractal Landscap", we can consider that
it is set of painted in different colors ovals.

Now I would like to paint ON IT. I mean paint star in one part of
"Fractal Landscape", than remove this star and paint it somewhere else.

I dont want to repaint() "Fractal Landscape" because it is very slow,
how to paint on it, without replacing content of Landscape.

thx

M
Back to top
Knute Johnson
Guest





PostPosted: Sat May 06, 2006 5:07 pm    Post subject: Re: Painting over Reply with quote



Nnnnaz wrote:
Quote:
Hello,

I have written code to generate "Fractal Landscap", we can consider that
it is set of painted in different colors ovals.

Now I would like to paint ON IT. I mean paint star in one part of
"Fractal Landscape", than remove this star and paint it somewhere else.

I dont want to repaint() "Fractal Landscape" because it is very slow,
how to paint on it, without replacing content of Landscape.

thx

M

Draw your fractal on a BufferedImage then draw the BufferedImage on a
component. When you need to redraw part of your fractal, get it from
the BufferedImage.

--

Knute Johnson
email s/nospam/knute/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits 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.