/** * 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(ProgressHandle handle) { return handle.extractComponent(); }