This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "MediaTracker and graphics" Watch "MediaTracker and graphics" New topic

MediaTracker and graphics

Chris Masters

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:
subject: MediaTracker and graphics
It's not a secret anymore!