JAL-2587 Tinkering with progress panel appearance
authorkiramt <k.mourao@dundee.ac.uk>
Thu, 10 Aug 2017 11:02:10 +0000 (12:02 +0100)
committerkiramt <k.mourao@dundee.ac.uk>
Thu, 10 Aug 2017 11:02:10 +0000 (12:02 +0100)
src/jalview/gui/ProgressPanel.java

index 5417a1d..71c5f8f 100644 (file)
@@ -26,10 +26,12 @@ import java.awt.BorderLayout;
 import java.awt.CardLayout;
 import java.beans.PropertyChangeEvent;
 
+import javax.swing.BorderFactory;
 import javax.swing.JLabel;
 import javax.swing.JPanel;
 import javax.swing.JProgressBar;
 import javax.swing.border.EmptyBorder;
+import javax.swing.border.EtchedBorder;
 
 /**
  * A class to manage a panel containing a label and progress bar updated by an
@@ -97,6 +99,9 @@ public class ProgressPanel extends JPanel implements RendererListenerI
 
     add(labelPanel, BorderLayout.WEST);
     add(barPanel, BorderLayout.CENTER);
+    add(new JLabel(" "), BorderLayout.EAST);
+
+    setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
   }
 
   @Override