Merge branch 'develop' into features/JAL-1705_ensembl
[jalview.git] / src / jalview / appletgui / ScalePanel.java
index 3bb676f..769ac8b 100755 (executable)
@@ -414,21 +414,17 @@ public class ScalePanel extends Panel implements MouseMotionListener,
           maxX = (i - startx + 1) * avcharWidth + fm.stringWidth(string);
         }
 
-        gg.drawLine(
-((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
+        gg.drawLine(((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
                 y + 2,
-                ((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
-                y + (fm.getDescent() * 2));
+                ((i - startx - 1) * avcharWidth) + (avcharWidth / 2), y
+                        + (fm.getDescent() * 2));
 
       }
       else
       {
-        gg.drawLine(
-((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
-                y + fm.getDescent(),
- ((i - startx - 1) * avcharWidth)
-                + (avcharWidth / 2),
-                y + (fm.getDescent() * 2));
+        gg.drawLine(((i - startx - 1) * avcharWidth) + (avcharWidth / 2), y
+                + fm.getDescent(), ((i - startx - 1) * avcharWidth)
+                + (avcharWidth / 2), y + (fm.getDescent() * 2));
       }
     }
 
@@ -450,12 +446,10 @@ public class ScalePanel extends Panel implements MouseMotionListener,
             continue;
           }
 
-          gg.fillPolygon(new int[]
-          { res * avcharWidth - avcharHeight / 4,
+          gg.fillPolygon(new int[] { res * avcharWidth - avcharHeight / 4,
               res * avcharWidth + avcharHeight / 4, res * avcharWidth },
-                  new int[]
-                  { y - avcharHeight / 2, y - avcharHeight / 2, y + 8 },
-                  3);
+                  new int[] { y - avcharHeight / 2, y - avcharHeight / 2,
+                      y + 8 }, 3);
 
         }
       }