Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MediaTracker and graphics

 
Chris Masters
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic