|
@@ -24,6 +24,7 @@ import java.awt.event.ActionEvent;
|
|
import java.awt.FlowLayout;
|
|
import java.awt.FlowLayout;
|
|
import javax.swing.SwingConstants;
|
|
import javax.swing.SwingConstants;
|
|
import javax.swing.JLabel;
|
|
import javax.swing.JLabel;
|
|
|
|
+import java.awt.Cursor;
|
|
|
|
|
|
class UnitGraph extends JPanel implements MouseListener, MouseMotionListener, ComponentListener {
|
|
class UnitGraph extends JPanel implements MouseListener, MouseMotionListener, ComponentListener {
|
|
|
|
|
|
@@ -41,6 +42,7 @@ class UnitGraph extends JPanel implements MouseListener, MouseMotionListener, Co
|
|
private final JLabel lblMaximum = new JLabel("Maximum");
|
|
private final JLabel lblMaximum = new JLabel("Maximum");
|
|
|
|
|
|
public UnitGraph(final Model model, Control control) {
|
|
public UnitGraph(final Model model, Control control) {
|
|
|
|
+ setCursor(Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
|
|
this.controller = control;
|
|
this.controller = control;
|
|
this.model = model;
|
|
this.model = model;
|
|
|
|
|