Commit b461cfce authored by Guilhelm Savin's avatar Guilhelm Savin

Merge pull request #9 from beltex/chart-center

Set ChartMeasure location to center of display
parents 4ff41516 13351fe5
...@@ -253,6 +253,7 @@ public abstract class ChartMeasure { ...@@ -253,6 +253,7 @@ public abstract class ChartMeasure {
JFrame frame = new JFrame(params.title); JFrame frame = new JFrame(params.title);
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
frame.add(panel); frame.add(panel);
frame.pack(); frame.pack();
frame.setVisible(true); frame.setVisible(true);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment