> For aggregated progress handles the equivalent of ProgressHandleFactory.createProgressComponent() was missing.
> Added in this version.
>
>
>
>
>
>
>
>
Index: src/org/netbeans/api/progress/aggregate/AggregateProgressFactory.java
===================================================================
RCS file: /cvs/core/progress/src/org/netbeans/api/progress/aggregate/AggregateProgressFactory.java,v
retrieving revision 1.2
diff -r1.2 AggregateProgressFactory.java
16a17
> import javax.swing.JComponent;
67a69,77
> }
>
> /**
> * 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();
Index: src/org/netbeans/api/progress/aggregate/AggregateProgressHandle.java
===================================================================
RCS file: /cvs/core/progress/src/org/netbeans/api/progress/aggregate/AggregateProgressHandle.java,v
retrieving revision 1.4
diff -r1.4 AggregateProgressHandle.java
19a20
> import javax.swing.JComponent;
205a207,213
>
> /**
> * have the component in custom location, don't include in the status bar.
> */
> JComponent extractComponent() {
> return ProgressHandleFactory.createProgressComponent(handle);
> }