progressDialog.pack();
progressDialog.setLocation((Toolkit.getDefaultToolkit().getScreenSize().width - progressDialog.getWidth()) / 2, (Toolkit.getDefaultToolkit().getScreenSize().height - progressDialog.getHeight()) / 2);
progressDialog.setVisible(true);
- } else System.out.println("Creating track views");
-
+ }
+
// Starts filling the track panel with track views, while updating the progress bar.
GridLayout gL = new GridLayout(1,numberOfTracks);
trackPanel.setLayout(gL);
}
}
if (showProgress) progressDialog.dispose();
- else System.out.print("Done");
}
/* JPanel filler = new JPanel();
int totalViewLength = trackPanel.getComponents().length * MooTrackView.VIEW_WIDTH;