
Signature
Andrew Thompson
http://www.athompson.info/andrew/
>>"Click" <clicker@hotmail.fr> wrote :
>>> A lot of crap.
>>Sorry, I found my problem. It was my fault.
> Such comments are far more useful when you explain
> what the solution was. Don't forget, this is a discussion
> forum, not a help desk.
Sorry. But the mistake is so obvious that I am ashamed of it!
To force the repaint of my component, I used the "paintImmediately" method,
and I was using 0, 0, 640, 480 as parameters, not taking into account the
real size of the component. So of course, only this area was drawn.
When I told you this was a stupid mistake!
Francois
Andrew Thompson - 13 Jun 2007 14:49 GMT
>>>"Click" <clicker@hotmail.fr> wrote :
>>>> A lot of crap.
[quoted text clipped - 7 lines]
>and I was using 0, 0, 640, 480 as parameters, not taking into account the
>real size of the component. So of course, only this area was drawn.
Thanks for clarifying.
>When I told you this was a stupid mistake!
(chuckle) I made one or two stupid mistakes today, a
couple the other day, and ..countless numbers of them
during my experiences with Java and other programming
languages over the years.
Hey, it's better to uncover a stupid mistake, than realise
you've discovered an 'incomputable problem', no? ;-)

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Patricia Shanahan - 13 Jun 2007 15:45 GMT
>>> "Click" <clicker@hotmail.fr> wrote :
>>>> A lot of crap.
[quoted text clipped - 8 lines]
> real size of the component. So of course, only this area was drawn.
> When I told you this was a stupid mistake!
This is useful data.
I thought, based on the symptoms, that the repaint was forcing the size,
but decided to leave the question for people who are more familiar with
GUI problems. Now I have confirmation that my inference was correct,
which will help me deal with similar issues in the future.
Patricia