round corners

This commit is contained in:
bancika
2011-01-24 21:02:33 +00:00
parent e84f77a7ca
commit 2f672bf2b4
2 changed files with 5 additions and 5 deletions
@@ -1,15 +1,15 @@
<map> <map>
<entry> <entry>
<string>metric</string> <string>lastPath</string>
<boolean>true</boolean> <string>C:\Documents and Settings\Branislav Stojkovic\Desktop</string>
</entry> </entry>
<entry> <entry>
<string>zoom</string> <string>zoom</string>
<double>1.0</double> <double>1.0</double>
</entry> </entry>
<entry> <entry>
<string>lastPath</string> <string>metric</string>
<string>C:\Documents and Settings\Branislav Stojkovic\Desktop</string> <boolean>true</boolean>
</entry> </entry>
<entry> <entry>
<string>default.org.diylc.components.misc.Label:Color</string> <string>default.org.diylc.components.misc.Label:Color</string>
@@ -32,7 +32,7 @@ public class ObjectCache {
if (basicStrokeMap.containsKey(width)) { if (basicStrokeMap.containsKey(width)) {
return basicStrokeMap.get(width); return basicStrokeMap.get(width);
} }
Stroke stroke = new BasicStroke(width); Stroke stroke = new BasicStroke(width, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND);
basicStrokeMap.put(width, stroke); basicStrokeMap.put(width, stroke);
return stroke; return stroke;
} }