minor changes (removed unused imports, added @Override ...)

This commit is contained in:
North 2011-09-24 22:37:53 +03:00
parent e72da7f4ed
commit 27c8514d64
6 changed files with 48 additions and 31 deletions

View file

@ -1,10 +1,6 @@
package mage.client.util.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
/**
@ -62,7 +58,6 @@ public class ArrowBuilder {
arrow.setColor(color);
arrow.setArrowLocation(startX, startY, endX, endY);
arrow.setBounds(0, 0, Math.max(startX, endX) + 30, Math.max(startY, endY) + 30); // 30 is offset for arrow heads (being cut otherwise)
//System.out.println(" Adding arrow (startX=" + startX + ", startY=" + startY +", endX=" + endX + ", endY=" + endY + ")");
p.add(arrow);
p.revalidate();
p.repaint();