From 1a81f2151fea70204945566dc2ce5dd5787b35e2 Mon Sep 17 00:00:00 2001 From: spjspj Date: Mon, 26 Sep 2016 03:17:06 +1000 Subject: [PATCH] spjspj - Add in energy/experience counters --- .../src/main/java/mage/client/game/PlayerPanelExt.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java b/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java index 1ce935228f..08cfc11f6f 100644 --- a/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java +++ b/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java @@ -543,6 +543,7 @@ public class PlayerPanelExt extends javax.swing.JPanel { energy = new ImagePanel(resizedEnergy, ImagePanel.ACTUAL); energy.setToolTipText("Energy"); energy.setOpaque(false); + // Experience count experienceLabel.setText("0"); r = new Rectangle(18, 18); @@ -553,13 +554,13 @@ public class PlayerPanelExt extends javax.swing.JPanel { experience.setToolTipText("Experience"); experience.setOpaque(false); - energy.setBounds(5, 22, 21, 21); + energy.setBounds(2, 22, 21, 21); zonesPanel.add(energy); - energyLabel.setBounds(27, 22, 21, 21); + energyLabel.setBounds(24, 22, 18, 21); zonesPanel.add(energyLabel); - experience.setBounds(48, 22, 21, 21); + experience.setBounds(41, 22, 21, 21); zonesPanel.add(experience); - experienceLabel.setBounds(69, 22, 21, 21); + experienceLabel.setBounds(58, 22, 21, 21); zonesPanel.add(experienceLabel); btnPlayer = new JButton();