From 5a7118587f26c6cb54b7d7771fda4a96747e492a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 28 Apr 2011 21:27:23 +0200 Subject: Use different border for player panel git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@14 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/PlayerPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/jrummikub/view/PlayerPanel.java b/src/jrummikub/view/PlayerPanel.java index 97942bd..1688d7c 100644 --- a/src/jrummikub/view/PlayerPanel.java +++ b/src/jrummikub/view/PlayerPanel.java @@ -11,7 +11,6 @@ import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JProgressBar; -import javax.swing.border.LineBorder; @SuppressWarnings("serial") public class PlayerPanel extends JPanel implements IPlayerPanel { @@ -119,7 +118,7 @@ public class PlayerPanel extends JPanel implements IPlayerPanel { GridBagConstraints c = new GridBagConstraints(); setLayout(layout); - setBorder(new LineBorder(Color.BLACK, 1)); + setBorder(new CustomBorder(Color.BLACK, 1, 0, 0, 0)); setBackground(Color.LIGHT_GRAY); JPanel leftPanel = createLeftPanel(); -- cgit v1.2.3