altosui: Set site map flight path lines to 6 pixels anti-aliased.
authorKeith Packard <keithp@keithp.com>
Sun, 21 Nov 2010 00:55:12 +0000 (16:55 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 21 Nov 2010 00:55:12 +0000 (16:55 -0800)
Much more visible over the map.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosSiteMapTile.java

index 9d6f855d41bc865434dc7052cf3f17fb4357b9a7..fd4cf0bbd3b3097f1b5a0fe43fb5671d1a7f6767 100644 (file)
@@ -125,6 +125,9 @@ public class AltosSiteMapTile extends JLayeredPane {
 
                draw = new JLabel();
                g2d = fillLabel(draw, new Color(127, 127, 127, 0), px_size);
+               g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
+                                    RenderingHints.VALUE_ANTIALIAS_ON);
+               g2d.setStroke(new BasicStroke(6, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
                draw.setBounds(0, 0, px_size, px_size);
                draw.setOpaque(false);