[GC]Is this a bug? [message #437597] |
Tue, 08 June 2004 16:47 |
Eclipse User |
|
|
|
Originally posted by: purejd.sohu.com
Hi all,
I'm using eclipse 3.0 m9 on windows 2k.
When I call GC's drawText()/drawImage() to draw a
string/image,it works well at first. But when I move some
window above it,the part of the string/image that
was covered disappears!
I don't know if it's a bug or my fault, so I need your help.
Thanks a lot.
Rong
|
|
|
Re: [GC]Is this a bug? [message #437600 is a reply to message #437597] |
Tue, 08 June 2004 17:36 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
You need to do this within a paint listener. Just painting on something
like that is just temporary until something covers it up. Only if done
through a paint listener will it stay around because everytime it is
re-exposed the paint listener will be called and you can then put the
stuff back.
--
Thanks, Rich Kulp
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02848 seconds