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: org.netbeans.api.progress/1
OpenIDE-Module-Localizing-Bundle: org/netbeans/progress/module/resources/Bundle.properties
OpenIDE-Module-Layer: org/netbeans/progress/module/resources/layer.xml
OpenIDE-Module-Specification-Version: 1.0
OpenIDE-Module-Specification-Version: 1.1
<changes>
<change>
<api name="progress_api"/>
<summary>Adding <code>setInitialDelay(int)</code> method to <code>ProgressHandle</code> and <code>AggregateProgressHandle</code></summary>
<version major="1" minor="1"/>
<date day="12" month="9" year="2005"/>
<author login="mkleint"/>
<compatibility addition="yes"/>
<description><p>
The newly added methods allow to customize the amount of time that shall pass between the start of handle's progress
and it's appearance in the status bar. If the progress task finishes fast enough it won't appear in the UI at all.
The default value is around 0.5s. </p>
<p>
For handles that are used in dialogs and elsewhere, this property has no effect and the handle's component is shown immediately.
</p>
</description>
<class package="org.netbeans.api.progress" name="ProgressHandle"/>
<class package="org.netbeans.api.progress.aggregate" name="AggregateProgressHandle"/>
<issue number="60966"/>
</change>
<summary>Initial version released</summary>
<version major="1" minor="0"/>
<date day="4" month="5" year="2005"/>
internal.progress(message, workunit);
}
/**
* allows to set a custom initial delay for the progress task to appear in the
* status bar. This delay marks the time between starting of the progress handle
* and it's appearance in the status bar. If it finishes earlier, it's not shown at all.
* There is a default < 1s value for this. If you want to to appear earlier or later,
* call this method with the value you prefer before starting the handle.
* <p> Progress bars that are placed in custom dialogs do always appear right away without a delay.
* @param millis amount of miliseconds that shall pass before the progress appears in status bar.
*/
/*public*/ void setInitialDelay(int millis) {
internal.setInitialDelay(millis);
* have the component in custom location, don't include in the status bar.
finished = true;
handle.finish();
//handle.setInitialDelay(millis);