- Timestamp:
- 2015-08-07T16:51:31+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r8643 r8644 1042 1042 StringBuilder line = new StringBuilder(); 1043 1043 StringBuilder ret = new StringBuilder(); 1044 for (String s: text.split(" ")) {1044 for (String s: text.split(" ")) { 1045 1045 if (g.getFontMetrics().stringWidth(line.toString() + s) > tileSource.getTileSize()) { 1046 1046 ret.append(line).append("\n"); -
trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java
r8641 r8644 10 10 import java.awt.Dimension; 11 11 import java.awt.Font; 12 import java.awt.GraphicsEnvironment;13 12 import java.awt.GridBagLayout; 14 13 import java.awt.Image; … … 22 21 import java.awt.image.FilteredImageSource; 23 22 import java.lang.reflect.InvocationTargetException; 24 import java.util.Arrays;25 23 import java.util.Enumeration; 26 import java.util.List;27 24 import java.util.concurrent.Callable; 28 25 import java.util.concurrent.ExecutionException;
Note:
See TracChangeset
for help on using the changeset viewer.