This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
OpenIDE-Module-Specification-Version: 1.2
OpenIDE-Module-Specification-Version: 1.3
--
<summary>Adding <code>createProgressComponent(AggregateProgressHandle)</code> method to <code>AggregateProgressFactory</code></summary>
<version major="1" minor="3"/>
<date day="11" month="10" year="2005"/>
<author login="mkleint"/>
<compatibility addition="yes"/>
<description>
<p>
For aggregated progress handles the equivalent of ProgressHandleFactory.createProgressComponent() was missing.
Added in this version.
</p>
</description>
<class package="org.netbeans.api.progress.aggregate" name="AggregateProgressFactory"/>
<class package="org.netbeans.api.progress.aggregate" name="AggregateProgressHandle"/>
<issue number="66554"/>
</change>
<change>
<api name="progress_api"/>
import javax.swing.JComponent;
}
/**
* Get the progress bar component for use in custom dialogs, the task won't
* show in the progress bar anymore.
* @return the component to use in custom UI.
*/
public static JComponent createProgressComponent(AggregateProgressHandle handle) {
return handle.extractComponent();
* have the component in custom location, don't include in the status bar.
JComponent extractComponent() {
return ProgressHandleFactory.createProgressComponent(handle);