projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
altosui
/
AltosSiteMapPreload.java
diff --git
a/altosui/AltosSiteMapPreload.java
b/altosui/AltosSiteMapPreload.java
index 33849c660bb1fa12124cd0bc6f89540883defa0c..66399557e6813289da168fd511bcc711a84e442f 100644
(file)
--- a/
altosui/AltosSiteMapPreload.java
+++ b/
altosui/AltosSiteMapPreload.java
@@
-26,6
+26,7
@@
import java.text.*;
import java.lang.Math;
import java.net.URL;
import java.net.URLConnection;
import java.lang.Math;
import java.net.URL;
import java.net.URLConnection;
+import org.altusmetrum.altosuilib_1.*;
class AltosMapPos extends Box {
AltosUI owner;
class AltosMapPos extends Box {
AltosUI owner;
@@
-205,14
+206,14
@@
class AltosSites extends Thread {
}
}
}
}
-public class AltosSiteMapPreload extends AltosDialog implements ActionListener, ItemListener {
+public class AltosSiteMapPreload extends Altos
UI
Dialog implements ActionListener, ItemListener {
AltosUI owner;
AltosSiteMap map;
AltosMapPos lat;
AltosMapPos lon;
AltosUI owner;
AltosSiteMap map;
AltosMapPos lat;
AltosMapPos lon;
- final static int radius =
4
;
+ final static int radius =
5
;
final static int width = (radius * 2 + 1);
final static int height = (radius * 2 + 1);
final static int width = (radius * 2 + 1);
final static int height = (radius * 2 + 1);
@@
-325,7
+326,7
@@
public class AltosSiteMapPreload extends AltosDialog implements ActionListener,
pane.setLayout(new GridBagLayout());
pane.setLayout(new GridBagLayout());
- map = new AltosSiteMap(
4
);
+ map = new AltosSiteMap(
radius
);
c.fill = GridBagConstraints.BOTH;
c.anchor = GridBagConstraints.CENTER;
c.fill = GridBagConstraints.BOTH;
c.anchor = GridBagConstraints.CENTER;
@@
-463,4
+464,4
@@
public class AltosSiteMapPreload extends AltosDialog implements ActionListener,
setLocationRelativeTo(owner);
setVisible(true);
}
setLocationRelativeTo(owner);
setVisible(true);
}
-}
\ No newline at end of file
+}