Use different border for player panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@14 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
652e814991
commit
5a7118587f
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue