This commit is contained in:
Dofensmirtsz
2015-07-09 12:18:24 +02:00
parent 5679b20616
commit 9380506d06
+3 -2
View File
@@ -27,9 +27,10 @@ public class DifficultyButton {
button = Images.initVolatileImage(305, 80, Transparency.OPAQUE);
Graphics2D g2 = button.createGraphics();
g2.setColor(Color.WHITE);
g2.fillRect(0, 0, 300, 75);
g2.fillRect(0, 0, 305, 80);
g2.setColor(Color.ORANGE);
g2.drawRect(0, 0, 300, 75);
g2.drawRect(0, 0, 304, 79);
g2.drawRect(2, 2, 300, 75);
//g2.drawRect(0-2, 0-2, 304, 79);
g2.setColor(color);