projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Add AltosForce and AltosPressure units
[fw/altos]
/
altosuilib
/
AltosUIGraph.java
diff --git
a/altosuilib/AltosUIGraph.java
b/altosuilib/AltosUIGraph.java
index 21e13cf645353e425bb1ce982b505bcb32cebc97..d37603846595d0bd4fca46e9d9c7967a9377444d 100644
(file)
--- a/
altosuilib/AltosUIGraph.java
+++ b/
altosuilib/AltosUIGraph.java
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-15,14
+16,14
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altosuilib_1;
+package org.altusmetrum.altosuilib_1
1
;
import java.io.*;
import java.util.ArrayList;
import java.awt.*;
import javax.swing.*;
import java.io.*;
import java.util.ArrayList;
import java.awt.*;
import javax.swing.*;
-import org.altusmetrum.altoslib_
3
.*;
+import org.altusmetrum.altoslib_
11
.*;
import org.jfree.ui.*;
import org.jfree.chart.*;
import org.jfree.ui.*;
import org.jfree.chart.*;
@@
-85,8
+86,6
@@
public class AltosUIGraph implements AltosUnitsListener {
public void addMarker(String label, int fetch, Color color) {
AltosUIMarker marker = new AltosUIMarker(fetch, color, plot);
public void addMarker(String label, int fetch, Color color) {
AltosUIMarker marker = new AltosUIMarker(fetch, color, plot);
- if (enable != null)
- enable.add(label, marker, true);
this.graphers.add(marker);
}
this.graphers.add(marker);
}
@@
-158,4
+157,4
@@
public class AltosUIGraph implements AltosUnitsListener {
AltosPreferences.register_units_listener(this);
}
AltosPreferences.register_units_listener(this);
}
-}
\ No newline at end of file
+}