Refactoring

This commit is contained in:
7u83 2017-10-04 11:11:03 +02:00
parent d64d82697a
commit 9a68389f99

View File

@ -29,9 +29,7 @@ import chart.ChartDef;
import chart.ChartPanel;
import java.awt.Graphics2D;
import java.awt.Point;
import javax.swing.JPanel;
import javax.swing.JScrollBar;
import sesim.OHLCData;
/**
*
@ -45,8 +43,8 @@ public class ChartCrossPainter extends ChartPainter{
if (mp==null)
return;
g.drawLine(0, p.mouse.y-1, p.getSize().width, p.mouse.y-1);
g.drawLine(p.mouse.x-1, 0, p.mouse.x-1, p.getSize().height);
g.drawLine(0, p.mouse.y, p.getSize().width, p.mouse.y);
g.drawLine(p.mouse.x, 0, p.mouse.x, p.getSize().height);
}