diff --git a/src/main/java/solitaer/SolitaerGamePanel.java b/src/main/java/solitaer/SolitaerGamePanel.java index 84454cd..3aa618b 100644 --- a/src/main/java/solitaer/SolitaerGamePanel.java +++ b/src/main/java/solitaer/SolitaerGamePanel.java @@ -1,8 +1,10 @@ package solitaer; import java.awt.Color; +import java.awt.Font; import java.awt.Graphics; +import javax.swing.JLabel; import javax.swing.JPanel; public class SolitaerGamePanel extends JPanel { @@ -18,7 +20,7 @@ public class SolitaerGamePanel extends JPanel { private CardDeck deck; private MyMouseListener mouseL; - private SaveStack save =new SaveStack(500,250); + private SaveStack save;// =new SaveStack(500,250); private StartStack[] start = new StartStack[7] ; private AblageStack[] ablage = new AblageStack[4]; @@ -70,7 +72,13 @@ public class SolitaerGamePanel extends JPanel { } - //save = new SaveStack(500,250); + int Offset_x_Save = (((IMAGE_WIDTH+OFFSET_STACKS_X)*8)+OFFSET_STACKS_X); + JLabel label = new JLabel(); + label.setText("selected Cards"); + label.setBounds(Offset_x_Save, 100, 200,25); + this.add(label); + + save = new SaveStack(Offset_x_Save,125); this.add(save);