1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Use newer jfreechart API
Author: Julien Plissonneau Duquène <sre4ever@free.fr>
Bug-Debian: https://bugs.debian.org/1099295
Forwarded: no
Last-Update: 2025-03-30
--- a/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/IslandsView.java
+++ b/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/IslandsView.java
@@ -73,7 +73,7 @@
plot.getRangeAxis().setAutoRange(false);
plot.setDatasetRenderingOrder(DatasetRenderingOrder.FORWARD);
- meanRenderer.setBaseLinesVisible(false);
+ meanRenderer.setDefaultLinesVisible(false);
ChartPanel chartPanel = new ChartPanel(chart,
ChartPanel.DEFAULT_WIDTH,
ChartPanel.DEFAULT_HEIGHT,
--- a/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/JVMView.java
+++ b/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/JVMView.java
@@ -37,8 +37,8 @@
import org.jfree.data.time.Second;
import org.jfree.data.time.TimeSeries;
import org.jfree.data.time.TimeSeriesCollection;
-import org.jfree.ui.RectangleAnchor;
-import org.jfree.ui.TextAnchor;
+import org.jfree.chart.ui.RectangleAnchor;
+import org.jfree.chart.ui.TextAnchor;
/**
* Evolution monitor panel that displays information about the current
|