MediaTracker - how to use it, what are the benefits, or is there an alterative?

后端 未结 2 431
后悔当初
后悔当初 2020-12-10 17:07

In the codebase we inherited the usage of MediaTracker was always done locally in each code block.

new MediaTracker(new Canvas());
mediatracker.addImage(i, 1         


        
2条回答
  •  甜味超标
    2020-12-10 17:41

    MediaTracker

    ?

    Join us in the 3rd millennium and use ImageIO.read(File/URL/InputStream). In our millennium, MediaTracker is irrelevant.

提交回复
热议问题