How to use Media tracker Class.



How to use Media tracker Class...

Answer / Hitendra Kumar Singh

To use the MediaTracker class in Core Java, create a new instance of the MediaTracker class, add Media objects (such as images) to be tracked, call 'waitForID' for each media object, and then retrieve the Media object using the 'getImage' method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can a class have multiple superclasses?

1 Answers  


How concurrent hashmap works?

1 Answers  


What is the difference between static synchronize() metod and synchronize() method?

1 Answers   Polaris,


when everything can be done by static block then why do we use main method?.

2 Answers  


What is meant by event handling?

2 Answers  


Explain the difference between protected and default access.

1 Answers  


How to sort elements in a parallel array in java?

1 Answers  


What is meant by interface?

1 Answers  


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

1 Answers  


difference between byte stream class and character stream class?

1 Answers  


Explain different ways of passing arguments to sub-routine?

1 Answers  


Is java a digit method?

1 Answers  


Categories