aspose file tools*
The moose likes Beginning Java and the fly likes MediaTracker and graphics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "MediaTracker and graphics" Watch "MediaTracker and graphics" New topic
Author

MediaTracker and graphics

Chris Masters
Greenhorn

Joined: Apr 13, 2001
Posts: 21
I am currently implementing a class that sends a dynamically generated graph to the printer. The implmentation uses a chart control program that I genrates these dynamically created graphs as a Graphic output that is then formatted and sent to the printer.
My problem is that I need to create a wait() of some sort to pause the program while it preforms this action.
I was looking at my options and since the MediaTracker looked to be the most promising way of pausing the code while it painted the image that was going to the printer. However the MediaTracker would not accept the Graphic output. Is there another method like mediatracker that works with the Graphic class, in the Java 1.1.x package?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MediaTracker and graphics