• Post Reply Bookmark Topic Watch Topic
  • New Topic

The control panel strip of MediaPlayer is blank when content is playing

 
Tom Wang
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Description: Sometimes the control panel strip of MediaPlayer is blank when content is playing. All the buttons on the panel are then invisible.

OS: Microsoft Windows XP [Version 5.1.2600]

Java: java version "1.5.0_06", Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05), Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed

mode, sharing)

JMF: jmf-2_1_1e-windows

Web browser: IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 or Firefox 1.0.7

Source code: MediaPlayerSample.java under the "JMF_samples" directory

Reproduce:
1. Run MediaPlayerSample.java as an Applet with any .wav audio file or .avi video file
2. Click the "refresh" button of your browser (I use IE or Firefox) until the control panel strip turns to blank.
In general, it appears within 20 clicks of "refresh" button.
Related bugs: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4235319
Bug ID: 4235319
Synopsis ControlPanel is not compatible with Swing

The URL is http://www.cs.ualberta.ca/~taowang/test_jmf/MediaPlayerSample.html
The Java code is available at http://www.cs.ualberta.ca/~taowang/test_jmf/MediaPlayerSample.java
The VIDEO file is at http://www.cs.ualberta.ca/~taowang/test_jmf/1.avi
The AUDIO file is at http://www.cs.ualberta.ca/~taowang/test_jmf/1.wav

Does anyone know how to correct it?
Thanks in advance!

T.W.
 
Tom Wang
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Knute Johnson in comp.lang.java.programmer told me to update JDK to 1.6.0beta2 and I found this problem disappear in 1.6.0beta2.

http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/670b99b9770c214a/e5d2a1443f48bed7?lnk=gst&q=jmf&rnum=1#e5d2a1443f48bed7
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!