Removed unnecesary imports

This commit is contained in:
7u83 2017-10-04 11:11:43 +02:00
parent 9a68389f99
commit fddeee5c63
1 changed files with 4 additions and 7 deletions

View File

@ -27,11 +27,7 @@ package chart.painter;
import chart.ChartDef;
import chart.ChartPanel;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import javax.swing.JPanel;
import javax.swing.JScrollBar;
import sesim.OHLCData;
/**
@ -66,6 +62,10 @@ abstract public class ChartPainter {
return 0;
}
/**
* Init method scould be called before painting the chart
* @param g Graphics context
*/
protected final void init(Graphics2D g) {
// Calculate the number of pixels for 1 em
@ -73,9 +73,6 @@ abstract public class ChartPainter {
}
int big_tick = 10;
int y = 0;
abstract public void drawChart(Graphics2D g, ChartPanel p, ChartDef def);
}