Merge branch 'develop' into features/JAL-1705_ensembl
[jalview.git] / src / jalview / gui / ScalePanel.java
index 519f2e2..62cd3f1 100755 (executable)
@@ -482,13 +482,13 @@ public class ScalePanel extends JPanel implements MouseMotionListener,
 
         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)
+        gg.drawLine(((i - startx - 1) * avCharWidth) + (avCharWidth / 2), y
+                + fm.getDescent(), ((i - startx - 1) * avCharWidth)
                 + (avCharWidth / 2), y + (fm.getDescent() * 2));
       }
     }
@@ -512,12 +512,10 @@ public class ScalePanel extends JPanel 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);
 
         }
       }