Rearrange code.
[Persons_Comparator.git] / src / PersonRightPanel.java
index 8814863980a6598a5acbc4eea0d78ef3f208a8ec..7cbf331539804e907b1e8790e6f04a3cbc63239a 100644 (file)
@@ -19,14 +19,14 @@ public class PersonRightPanel extends JPanel {
         }
     }
 
-    public void setContentText(String contentText) {
-        this.contentText = contentText;
-    }
-
     public String getContentText() {
         return contentText;
     }
 
+    public void setContentText(String contentText) {
+        this.contentText = contentText;
+    }
+
     //FIXME: redraw on resizing
     /*@Override
     public void paint(Graphics g) {
@@ -48,7 +48,7 @@ public class PersonRightPanel extends JPanel {
         g2d.setColor(personObj.getEye().getColor());
         g2d.fillOval(50, 50, 6, 3);
         g2d.fillOval(62, 50, 6, 3);
-        // Weigth
+        // Weight
         g2d.setColor(Color.black);
         g2d.fillOval(44, 80, 30, (personObj.getWeight().getWeight() * 30) / 250);
     }