Thursday, August 23, 2007

JProgressBar

Have you used JProgressBar (to display when a long running process is going on in the foreground)? and if so have you encountered any memory leak issues?
JProgressBar registers itself with a timer for periodic display. We had an issue due to this. We had to extend the JProgressBar to include an additional method which calls JProgressBar.getUI().uninstallUI()
Looks like a Bug in java API!

No comments: