1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-24 12:16:28 +01:00

Made ProgressDialog's progress bar taller.

This commit is contained in:
sk89q 2014-01-09 02:00:56 -08:00
parent c7b2ed4f38
commit 4c124964ef

View File

@ -78,6 +78,8 @@ public class ProgressDialog extends JDialog {
private void initComponents() {
progressBar.setMaximum(1000);
progressBar.setMinimum(0);
progressBar.setIndeterminate(true);
progressBar.setPreferredSize(new Dimension(0, 18));
buttonsPanel.addElement(detailsButton);
buttonsPanel.addGlue();
@ -91,9 +93,6 @@ public class ProgressDialog extends JDialog {
logText.setWrapStyleWord(false);
logText.setFont(new JLabel().getFont());
progressBar.setIndeterminate(true);
progressBar.setPreferredSize(new Dimension(0, 16));
progressPanel.add(label, BorderLayout.NORTH);
progressPanel.setBorder(BorderFactory.createEmptyBorder(13, 13, 0, 13));
progressPanel.add(progressBar, BorderLayout.CENTER);