No. I cannot find this method. where is it? :) I assume it will not wait
for the next appropriate time, but will repaint immediately?
Thanks, John
On Mon, 26 Apr 1999, Thorn G. Green wrote:
>
>
> John,
>
>
> Are you using "paintImmediately(" ?
>
>
> Sincerely,
>
>
> Thorn Green
>
>
> On Mon, 26 Apr 1999, John Sproull wrote:
>
> >
> > hey, all, this may be more of a swing question than a java2d, question,
> > so apologies if this is not the correct place. I have a JPanel to which
> > I'm trying to draw vector information. The vector data is coming over
> > Corba and is in the form of simple drawing commands like line, polyline,
> > polygon, etc. We'd like the user to see each element paint to the
> > component as it comes in rather than the complete image when all the
> > drawing is done. We have 2 classes a JPanel called View and another class
> > called Canvas. this canvas holds a reference to the panel and obtains it's
> > Graphics. we also create a background image. when a request comes in, we
> > paint it to the background image. then, in the paintComponent() method
> > of the View, we call a method on the canvas called 'refresh' which draws
> > the background image to the graphics from paintComponent. we then,
> > finally, call a flush() on the background iamge. however, this
> > seems to complete all the drawing commands before displaying the changes.
> > ie- we're just getting the final result of a complete image, rather than
> > seeing each line, polygon,etc. draw as it comes in. whew! sorry about such
> > a long message. anyone have a solution to this? thanks!
> >
> > John Sproull
> > Java Developer
> > Universal Systems,
> > Fredericton, NB
> > Canada
> >
> >
> > =====================================================================
> > To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> > Java 2D Home Page: http://java.sun.com/products/java-media/2D/
> >
>
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/