This discussion is archived
0 Replies Latest reply: Jul 18, 2012 9:03 AM by user1095497 RSS

Customized progress indicators for Web Start on Mac

user1095497 Newbie
Currently Being Moderated
I'm trying to customize the class loading/progress indicator for my Web Start application. I followed the tutorial at:

http://docs.oracle.com/javase/tutorial/deployment/webstart/customProgressIndicatorForAppln.html

and it works somewhat ok on Windows 7 (the progress frame just never gets taken down until the application exits!?!), but on Mac (running 1.6u33), the progress frame doesn't even get put in the front - so it appears that nothing is happening until the application actually shows up. I tried adding "frame.toFront()" below the "frame.setVisible(true);" statement in the example - no help. I added a "frame.repaint();" also after I doing some googling, and that didn't work either. I even tried to register myself as a WindowListener and doing the above on the windowActivated() and windowOpened() events - again, no help.

How the heck do you force the progress indicator to come up in front of the browser window? Any help is much appreciated.

Also, as I said even on Windows the progress frame never goes away - so it looks like Webstart is never calling the interface methods with a progress value of 100?

Best regards,
Thomas Wolf
tjwolf@gmail.com

Edited by: user1095497 on Jul 18, 2012 9:00 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points