|
From: Jean-Yves B. <jea...@wa...> - 2000-03-14 10:51:26
|
Hello GL4 mac users,
I did find a pretty (and crazy) solution to the problem.
Try to add these lines in the display method of the Canvas,
just before the gljSwap call.
Graphics graf = getGraphics();
graf.drawString("", 10, 200);
I don't know why it works, but it works very fine on my G4.
Jean-Yves
Sven Goethel a *crit :
> Well, this error doesn't occure on Unix or Win32 !
> So I cannot say a word about this wrong behavior.
>
> Looks like that only the old overlapped invalid area
> is refreshed by the animation thread ... hmmm -> MAC Window Manager
> problem.
> May be you can solve the problmem by special validate/invalidate calls ?
> Please try this out ...
>
> Jean-Yves BRUD wrote:
> >
> > Hello,
> >
> > 1st step : my GL4 window is overlaped once by another window
> > that come front of it.
> >
> > 2nd step : i put the GL4 window front.
> >
> > 3rd step : Only the part that was overlapped is refreshed with sDisplay.
> >
> > To go back to normal, I need to resize the frame.
> >
> > Is it any other solution please ?
> >
> > NB: I use MyCanvas extending GL4 Anim canvas,
> > in a MyApplet extending JApplet, in MyFrame extending JFrame.
> >
> > This problem don't seems to occur on PC platform.
> >
> > Thanxs.
> >
> > -------------------------
> > Jean-Yves BRUD - Palahou 31330 Larra - FRANCE
> > mailto: jea...@wa...
> >
> > _______________________________________________
> > gl4java-usergroup mailing list
> > gl4...@li...
> > http://lists.sourceforge.net/mailman/listinfo/gl4java-usergroup
>
> --
> mailto:sgo...@ja...
> www: http://www.jausoft.com
> voice: +49-521-2399440, +49-170-2115963; fax: +49-521-2399442
|