();
+ private Image image;
+ private Animals animal = Animals.Turtle;
+ public MultiTurtlePanel()
+ {
+ super("So Many Turtles");
+ this.image = loadAnimal();
+ }
+ /**
+ * Adds a turtle instance to a window
+ * Example: {@code multiTurtlePanel.addTurtle(myTurtle)}
+ *
+ * @param turtle
+ * A turtle instance
+ */
+ public void addTurtle(Turtle turtle)
+ {
+ if (turtle == null) { return; }
+ this.turtles.add(turtle);
+ turtle.setPanel(this);
+ }
+ @Override
+ public void paint(Graphics g)
+ {
+ Graphics2D g2d = ProgramWindow.configureGraphics2D(g);
+ paintLines(g2d);
+ paintTurtle(g2d);
+ g2d.dispose();
+ }
+ @Override
+ public synchronized Image getImage()
+ {
+ return image;
+ }
+ /**
+ * Sets the Animal
+ * Example: {@code multiTurtlePanel.setAnimal(animal)}
+ *
+ * @see Animals
+ */
+ @Override
+ public synchronized void setAnimal(Animals animal)
+ {
+ this.animal = animal;
+ this.image = loadAnimal();
+ }
+ private Image loadAnimal()
+ {
+ return ObjectUtils.loadImage(MultiTurtlePanel.class, this.animal + ".png");
+ }
+ private void paintLines(Graphics2D g2d)
+ {
+ for (Turtle turtle : turtles)
+ {
+ paintTrail(g2d, turtle.getTrail());
+ }
+ }
+ private void paintTrail(Graphics2D g2d, LineSegment[] trail)
+ {
+ for (LineSegment l : trail)
+ {
+ g2d.setColor(l.getColor());
+ g2d.setStroke(new BasicStroke(l.getWidth(), BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER));
+ g2d.draw(new Line2D.Double(l.getStart().x, l.getStart().y, l.getEnd().x, l.getEnd().y));
+ }
+ }
+ private void paintTurtle(Graphics2D g)
+ {
+ for (Turtle turtle : turtles)
+ {
+ if (turtle.isHidden())
+ {
+ continue;
+ }
+ Image image = getImage();
+ int xCenter = image.getWidth(null) / 2;
+ int yCenter = image.getHeight(null) / 2;
+ int x = turtle.getX() - xCenter;
+ int y = turtle.getY() - yCenter;
+ AffineTransform rotate = AffineTransform.getRotateInstance(Math.toRadians(turtle.getHeadingInDegrees()),
+ xCenter, yCenter);
+ AffineTransform move = AffineTransform.getTranslateInstance(x, y);
+ move.concatenate(rotate);
+ g.drawImage(image, move, null);
+ }
+ }
+ public int getTurtleCount()
+ {
+ return this.turtles.size();
+ }
+}
diff --git a/src/org/teachingextensions/logo/Paintable.java b/src/main/java/org/teachingextensions/logo/Paintable.java
similarity index 100%
rename from src/org/teachingextensions/logo/Paintable.java
rename to src/main/java/org/teachingextensions/logo/Paintable.java
diff --git a/src/org/teachingextensions/logo/PenColors.java b/src/main/java/org/teachingextensions/logo/PenColors.java
similarity index 52%
rename from src/org/teachingextensions/logo/PenColors.java
rename to src/main/java/org/teachingextensions/logo/PenColors.java
index 517a5d7..816fd2d 100644
--- a/src/org/teachingextensions/logo/PenColors.java
+++ b/src/main/java/org/teachingextensions/logo/PenColors.java
@@ -4,10 +4,10 @@
import java.util.Random;
/**
- *
+ *
* Every pen color under the
- * rainbow,
+ * rainbow,
* and different ways to get them.
*/
public class PenColors
@@ -15,8 +15,8 @@ public class PenColors
public static class Blues
{
/**
- * The color Navy
- *
+ * The color Navy
+ *
*
* |
*
@@ -24,8 +24,8 @@ public static class Blues
**/
public static final Color Navy = Color.decode("#000080");
/**
- * The color DarkBlue
- *
+ * The color DarkBlue
+ *
*
* |
*
@@ -33,8 +33,8 @@ public static class Blues
**/
public static final Color DarkBlue = Color.decode("#00008B");
/**
- * The color MidnightBlue
- *
+ * The color MidnightBlue
+ *
*
* |
*
@@ -42,8 +42,8 @@ public static class Blues
**/
public static final Color MidnightBlue = Color.decode("#191970");
/**
- * The color MediumBlue
- *
+ * The color MediumBlue
+ *
*
* |
*
@@ -51,8 +51,8 @@ public static class Blues
**/
public static final Color MediumBlue = Color.decode("#0000CD");
/**
- * The color Blue
- *
+ * The color Blue
+ *
*
* |
*
@@ -60,8 +60,8 @@ public static class Blues
**/
public static final Color Blue = Color.decode("#0000FF");
/**
- * The color Teal
- *
+ * The color Teal
+ *
*
* |
*
@@ -69,8 +69,8 @@ public static class Blues
**/
public static final Color Teal = Color.decode("#008080");
/**
- * The color DarkSlateBlue
- *
+ * The color DarkSlateBlue
+ *
*
* |
*
@@ -78,8 +78,8 @@ public static class Blues
**/
public static final Color DarkSlateBlue = Color.decode("#483D8B");
/**
- * The color DarkCyan
- *
+ * The color DarkCyan
+ *
*
* |
*
@@ -87,8 +87,8 @@ public static class Blues
**/
public static final Color DarkCyan = Color.decode("#008B8B");
/**
- * The color SteelBlue
- *
+ * The color SteelBlue
+ *
*
* |
*
@@ -96,8 +96,8 @@ public static class Blues
**/
public static final Color SteelBlue = Color.decode("#4682B4");
/**
- * The color RoyalBlue
- *
+ * The color RoyalBlue
+ *
*
* |
*
@@ -105,8 +105,8 @@ public static class Blues
**/
public static final Color RoyalBlue = Color.decode("#4169E1");
/**
- * The color SlateBlue
- *
+ * The color SlateBlue
+ *
*
* |
*
@@ -114,8 +114,8 @@ public static class Blues
**/
public static final Color SlateBlue = Color.decode("#6A5ACD");
/**
- * The color CadetBlue
- *
+ * The color CadetBlue
+ *
*
* |
*
@@ -123,8 +123,8 @@ public static class Blues
**/
public static final Color CadetBlue = Color.decode("#5F9EA0");
/**
- * The color DarkTurquoise
- *
+ * The color DarkTurquoise
+ *
*
* |
*
@@ -132,8 +132,8 @@ public static class Blues
**/
public static final Color DarkTurquoise = Color.decode("#00CED1");
/**
- * The color DodgerBlue
- *
+ * The color DodgerBlue
+ *
*
* |
*
@@ -141,8 +141,8 @@ public static class Blues
**/
public static final Color DodgerBlue = Color.decode("#1E90FF");
/**
- * The color DeepSkyBlue
- *
+ * The color DeepSkyBlue
+ *
*
* |
*
@@ -150,8 +150,8 @@ public static class Blues
**/
public static final Color DeepSkyBlue = Color.decode("#00BFFF");
/**
- * The color MediumSlateBlue
- *
+ * The color MediumSlateBlue
+ *
*
* |
*
@@ -159,8 +159,8 @@ public static class Blues
**/
public static final Color MediumSlateBlue = Color.decode("#7B68EE");
/**
- * The color MediumTurquoise
- *
+ * The color MediumTurquoise
+ *
*
* |
*
@@ -168,8 +168,8 @@ public static class Blues
**/
public static final Color MediumTurquoise = Color.decode("#48D1CC");
/**
- * The color CornflowerBlue
- *
+ * The color CornflowerBlue
+ *
*
* |
*
@@ -177,8 +177,8 @@ public static class Blues
**/
public static final Color CornflowerBlue = Color.decode("#6495ED");
/**
- * The color Turquoise
- *
+ * The color Turquoise
+ *
*
* |
*
@@ -186,8 +186,8 @@ public static class Blues
**/
public static final Color Turquoise = Color.decode("#40E0D0");
/**
- * The color Aqua
- *
+ * The color Aqua
+ *
*
* |
*
@@ -195,8 +195,8 @@ public static class Blues
**/
public static final Color Aqua = Color.decode("#00FFFF");
/**
- * The color Cyan
- *
+ * The color Cyan
+ *
*
* |
*
@@ -204,8 +204,8 @@ public static class Blues
**/
public static final Color Cyan = Color.decode("#00FFFF");
/**
- * The color SkyBlue
- *
+ * The color SkyBlue
+ *
*
* |
*
@@ -213,8 +213,8 @@ public static class Blues
**/
public static final Color SkyBlue = Color.decode("#87CEEB");
/**
- * The color LightSkyBlue
- *
+ * The color LightSkyBlue
+ *
*
* |
*
@@ -222,8 +222,8 @@ public static class Blues
**/
public static final Color LightSkyBlue = Color.decode("#87CEFA");
/**
- * The color Aquamarine
- *
+ * The color Aquamarine
+ *
*
* |
*
@@ -231,8 +231,8 @@ public static class Blues
**/
public static final Color Aquamarine = Color.decode("#7FFFD4");
/**
- * The color LightSteelBlue
- *
+ * The color LightSteelBlue
+ *
*
* |
*
@@ -240,8 +240,8 @@ public static class Blues
**/
public static final Color LightSteelBlue = Color.decode("#B0C4DE");
/**
- * The color LightBlue
- *
+ * The color LightBlue
+ *
*
* |
*
@@ -249,8 +249,8 @@ public static class Blues
**/
public static final Color LightBlue = Color.decode("#ADD8E6");
/**
- * The color PowderBlue
- *
+ * The color PowderBlue
+ *
*
* |
*
@@ -258,8 +258,8 @@ public static class Blues
**/
public static final Color PowderBlue = Color.decode("#B0E0E6");
/**
- * The color PaleTurquoise
- *
+ * The color PaleTurquoise
+ *
*
* |
*
@@ -267,8 +267,8 @@ public static class Blues
**/
public static final Color PaleTurquoise = Color.decode("#AFEEEE");
/**
- * The color LightCyan
- *
+ * The color LightCyan
+ *
*
* |
*
@@ -276,8 +276,8 @@ public static class Blues
**/
public static final Color LightCyan = Color.decode("#E0FFFF");
/**
- * The color AliceBlue
- *
+ * The color AliceBlue
+ *
*
* |
*
@@ -285,8 +285,8 @@ public static class Blues
**/
public static final Color AliceBlue = Color.decode("#F0F8FF");
/**
- * The color Azure
- *
+ * The color Azure
+ *
*
* |
*
@@ -297,8 +297,8 @@ public static class Blues
public static class Browns
{
/**
- * The color Maroon
- *
+ * The color Maroon
+ *
*
* |
*
@@ -306,8 +306,8 @@ public static class Browns
**/
public static final Color Maroon = Color.decode("#800000");
/**
- * The color SaddleBrown
- *
+ * The color SaddleBrown
+ *
*
* |
*
@@ -315,8 +315,8 @@ public static class Browns
**/
public static final Color SaddleBrown = Color.decode("#8B4513");
/**
- * The color Brown
- *
+ * The color Brown
+ *
*
* |
*
@@ -324,8 +324,8 @@ public static class Browns
**/
public static final Color Brown = Color.decode("#A52A2A");
/**
- * The color Sienna
- *
+ * The color Sienna
+ *
*
* |
*
@@ -333,8 +333,8 @@ public static class Browns
**/
public static final Color Sienna = Color.decode("#A0522D");
/**
- * The color DarkGoldenrod
- *
+ * The color DarkGoldenrod
+ *
*
* |
*
@@ -342,8 +342,8 @@ public static class Browns
**/
public static final Color DarkGoldenrod = Color.decode("#B8860B");
/**
- * The color Chocolate
- *
+ * The color Chocolate
+ *
*
* |
*
@@ -351,8 +351,8 @@ public static class Browns
**/
public static final Color Chocolate = Color.decode("#D2691E");
/**
- * The color Peru
- *
+ * The color Peru
+ *
*
* |
*
@@ -360,8 +360,8 @@ public static class Browns
**/
public static final Color Peru = Color.decode("#CD853F");
/**
- * The color Goldenrod
- *
+ * The color Goldenrod
+ *
*
* |
*
@@ -369,8 +369,8 @@ public static class Browns
**/
public static final Color Goldenrod = Color.decode("#DAA520");
/**
- * The color RosyBrown
- *
+ * The color RosyBrown
+ *
*
* |
*
@@ -378,8 +378,8 @@ public static class Browns
**/
public static final Color RosyBrown = Color.decode("#BC8F8F");
/**
- * The color SandyBrown
- *
+ * The color SandyBrown
+ *
*
* |
*
@@ -387,8 +387,8 @@ public static class Browns
**/
public static final Color SandyBrown = Color.decode("#F4A460");
/**
- * The color Tan
- *
+ * The color Tan
+ *
*
* |
*
@@ -396,8 +396,8 @@ public static class Browns
**/
public static final Color Tan = Color.decode("#D2B48C");
/**
- * The color BurlyWood
- *
+ * The color BurlyWood
+ *
*
* |
*
@@ -405,8 +405,8 @@ public static class Browns
**/
public static final Color BurlyWood = Color.decode("#DEB887");
/**
- * The color Wheat
- *
+ * The color Wheat
+ *
*
* |
*
@@ -414,8 +414,8 @@ public static class Browns
**/
public static final Color Wheat = Color.decode("#F5DEB3");
/**
- * The color NavajoWhite
- *
+ * The color NavajoWhite
+ *
*
* |
*
@@ -423,8 +423,8 @@ public static class Browns
**/
public static final Color NavajoWhite = Color.decode("#FFDEAD");
/**
- * The color Bisque
- *
+ * The color Bisque
+ *
*
* |
*
@@ -432,8 +432,8 @@ public static class Browns
**/
public static final Color Bisque = Color.decode("#FFE4C4");
/**
- * The color BlanchedAlmond
- *
+ * The color BlanchedAlmond
+ *
*
* |
*
@@ -441,8 +441,8 @@ public static class Browns
**/
public static final Color BlanchedAlmond = Color.decode("#FFEBCD");
/**
- * The color Cornsilk
- *
+ * The color Cornsilk
+ *
*
* |
*
@@ -453,8 +453,8 @@ public static class Browns
public static class Grays
{
/**
- * The color Black
- *
+ * The color Black
+ *
*
* |
*
@@ -462,8 +462,8 @@ public static class Grays
**/
public static final Color Black = Color.decode("#000000");
/**
- * The color DarkSlateGray
- *
+ * The color DarkSlateGray
+ *
*
* |
*
@@ -471,8 +471,8 @@ public static class Grays
**/
public static final Color DarkSlateGray = Color.decode("#2F4F4F");
/**
- * The color DimGray
- *
+ * The color DimGray
+ *
*
* |
*
@@ -480,8 +480,8 @@ public static class Grays
**/
public static final Color DimGray = Color.decode("#696969");
/**
- * The color Gray
- *
+ * The color Gray
+ *
*
* |
*
@@ -489,8 +489,8 @@ public static class Grays
**/
public static final Color Gray = Color.decode("#808080");
/**
- * The color SlateGray
- *
+ * The color SlateGray
+ *
*
* |
*
@@ -498,8 +498,8 @@ public static class Grays
**/
public static final Color SlateGray = Color.decode("#708090");
/**
- * The color LightSlateGray
- *
+ * The color LightSlateGray
+ *
*
* |
*
@@ -507,8 +507,8 @@ public static class Grays
**/
public static final Color LightSlateGray = Color.decode("#778899");
/**
- * The color DarkGray
- *
+ * The color DarkGray
+ *
*
* |
*
@@ -516,8 +516,8 @@ public static class Grays
**/
public static final Color DarkGray = Color.decode("#A9A9A9");
/**
- * The color Silver
- *
+ * The color Silver
+ *
*
* |
*
@@ -525,8 +525,8 @@ public static class Grays
**/
public static final Color Silver = Color.decode("#C0C0C0");
/**
- * The color LightGray
- *
+ * The color LightGray
+ *
*
* |
*
@@ -534,8 +534,8 @@ public static class Grays
**/
public static final Color LightGray = Color.decode("#D3D3D3");
/**
- * The color Gainsboro
- *
+ * The color Gainsboro
+ *
*
* |
*
@@ -546,8 +546,8 @@ public static class Grays
public static class Greens
{
/**
- * The color DarkGreen
- *
+ * The color DarkGreen
+ *
*
* |
*
@@ -555,8 +555,8 @@ public static class Greens
**/
public static final Color DarkGreen = Color.decode("#006400");
/**
- * The color Green
- *
+ * The color Green
+ *
*
* |
*
@@ -564,8 +564,8 @@ public static class Greens
**/
public static final Color Green = Color.decode("#008000");
/**
- * The color ForestGreen
- *
+ * The color ForestGreen
+ *
*
* |
*
@@ -573,8 +573,8 @@ public static class Greens
**/
public static final Color ForestGreen = Color.decode("#228B22");
/**
- * The color DarkOliveGreen
- *
+ * The color DarkOliveGreen
+ *
*
* |
*
@@ -582,8 +582,8 @@ public static class Greens
**/
public static final Color DarkOliveGreen = Color.decode("#556B2F");
/**
- * The color Lime
- *
+ * The color Lime
+ *
*
* |
*
@@ -591,8 +591,8 @@ public static class Greens
**/
public static final Color Lime = Color.decode("#00FF00");
/**
- * The color Olive
- *
+ * The color Olive
+ *
*
* |
*
@@ -600,8 +600,8 @@ public static class Greens
**/
public static final Color Olive = Color.decode("#808000");
/**
- * The color Teal
- *
+ * The color Teal
+ *
*
* |
*
@@ -609,8 +609,8 @@ public static class Greens
**/
public static final Color Teal = Color.decode("#008080");
/**
- * The color SeaGreen
- *
+ * The color SeaGreen
+ *
*
* |
*
@@ -618,8 +618,8 @@ public static class Greens
**/
public static final Color SeaGreen = Color.decode("#2E8B57");
/**
- * The color DarkCyan
- *
+ * The color DarkCyan
+ *
*
* |
*
@@ -627,8 +627,8 @@ public static class Greens
**/
public static final Color DarkCyan = Color.decode("#008B8B");
/**
- * The color OliveDrab
- *
+ * The color OliveDrab
+ *
*
* |
*
@@ -636,8 +636,8 @@ public static class Greens
**/
public static final Color OliveDrab = Color.decode("#6B8E23");
/**
- * The color LimeGreen
- *
+ * The color LimeGreen
+ *
*
* |
*
@@ -645,8 +645,8 @@ public static class Greens
**/
public static final Color LimeGreen = Color.decode("#32CD32");
/**
- * The color MediumSeaGreen
- *
+ * The color MediumSeaGreen
+ *
*
* |
*
@@ -654,8 +654,8 @@ public static class Greens
**/
public static final Color MediumSeaGreen = Color.decode("#3CB371");
/**
- * The color LawnGreen
- *
+ * The color LawnGreen
+ *
*
* |
*
@@ -663,8 +663,8 @@ public static class Greens
**/
public static final Color LawnGreen = Color.decode("#7CFC00");
/**
- * The color LightSeaGreen
- *
+ * The color LightSeaGreen
+ *
*
* |
*
@@ -672,8 +672,8 @@ public static class Greens
**/
public static final Color LightSeaGreen = Color.decode("#20B2AA");
/**
- * The color Chartreuse
- *
+ * The color Chartreuse
+ *
*
* |
*
@@ -681,8 +681,8 @@ public static class Greens
**/
public static final Color Chartreuse = Color.decode("#7FFF00");
/**
- * The color SpringGreen
- *
+ * The color SpringGreen
+ *
*
* |
*
@@ -690,8 +690,8 @@ public static class Greens
**/
public static final Color SpringGreen = Color.decode("#00FF7F");
/**
- * The color MediumSpringGreen
- *
+ * The color MediumSpringGreen
+ *
*
* |
*
@@ -699,8 +699,8 @@ public static class Greens
**/
public static final Color MediumSpringGreen = Color.decode("#00FA9A");
/**
- * The color YellowGreen
- *
+ * The color YellowGreen
+ *
*
* |
*
@@ -708,8 +708,8 @@ public static class Greens
**/
public static final Color YellowGreen = Color.decode("#9ACD32");
/**
- * The color DarkTurquoise
- *
+ * The color DarkTurquoise
+ *
*
* |
*
@@ -717,8 +717,8 @@ public static class Greens
**/
public static final Color DarkTurquoise = Color.decode("#00CED1");
/**
- * The color DarkSeaGreen
- *
+ * The color DarkSeaGreen
+ *
*
* |
*
@@ -726,8 +726,8 @@ public static class Greens
**/
public static final Color DarkSeaGreen = Color.decode("#8FBC8F");
/**
- * The color GreenYellow
- *
+ * The color GreenYellow
+ *
*
* |
*
@@ -735,8 +735,8 @@ public static class Greens
**/
public static final Color GreenYellow = Color.decode("#ADFF2F");
/**
- * The color MediumAquamarine
- *
+ * The color MediumAquamarine
+ *
*
* |
*
@@ -744,8 +744,8 @@ public static class Greens
**/
public static final Color MediumAquamarine = Color.decode("#66CDAA");
/**
- * The color MediumTurquoise
- *
+ * The color MediumTurquoise
+ *
*
* |
*
@@ -753,8 +753,8 @@ public static class Greens
**/
public static final Color MediumTurquoise = Color.decode("#48D1CC");
/**
- * The color Turquoise
- *
+ * The color Turquoise
+ *
*
* |
*
@@ -762,8 +762,8 @@ public static class Greens
**/
public static final Color Turquoise = Color.decode("#40E0D0");
/**
- * The color LightGreen
- *
+ * The color LightGreen
+ *
*
* |
*
@@ -771,8 +771,8 @@ public static class Greens
**/
public static final Color LightGreen = Color.decode("#90EE90");
/**
- * The color PaleGreen
- *
+ * The color PaleGreen
+ *
*
* |
*
@@ -780,8 +780,8 @@ public static class Greens
**/
public static final Color PaleGreen = Color.decode("#98FB98");
/**
- * The color Aquamarine
- *
+ * The color Aquamarine
+ *
*
* |
*
@@ -789,8 +789,8 @@ public static class Greens
**/
public static final Color Aquamarine = Color.decode("#7FFFD4");
/**
- * The color PaleTurquoise
- *
+ * The color PaleTurquoise
+ *
*
* |
*
@@ -801,8 +801,8 @@ public static class Greens
public static class Oranges
{
/**
- * The color OrangeRed
- *
+ * The color OrangeRed
+ *
*
* |
*
@@ -810,8 +810,8 @@ public static class Oranges
**/
public static final Color OrangeRed = Color.decode("#FF4500");
/**
- * The color DarkOrange
- *
+ * The color DarkOrange
+ *
*
* |
*
@@ -819,8 +819,8 @@ public static class Oranges
**/
public static final Color DarkOrange = Color.decode("#FF8C00");
/**
- * The color Orange
- *
+ * The color Orange
+ *
*
* |
*
@@ -828,8 +828,8 @@ public static class Oranges
**/
public static final Color Orange = Color.decode("#FFA500");
/**
- * The color Tomato
- *
+ * The color Tomato
+ *
*
* |
*
@@ -837,8 +837,8 @@ public static class Oranges
**/
public static final Color Tomato = Color.decode("#FF6347");
/**
- * The color Coral
- *
+ * The color Coral
+ *
*
* |
*
@@ -846,8 +846,8 @@ public static class Oranges
**/
public static final Color Coral = Color.decode("#FF7F50");
/**
- * The color LightSalmon
- *
+ * The color LightSalmon
+ *
*
* |
*
@@ -858,8 +858,8 @@ public static class Oranges
public static class Pinks
{
/**
- * The color MediumVioletRed
- *
+ * The color MediumVioletRed
+ *
*
* |
*
@@ -867,8 +867,8 @@ public static class Pinks
**/
public static final Color MediumVioletRed = Color.decode("#C71585");
/**
- * The color DeepPink
- *
+ * The color DeepPink
+ *
*
* |
*
@@ -876,8 +876,8 @@ public static class Pinks
**/
public static final Color DeepPink = Color.decode("#FF1493");
/**
- * The color PaleVioletRed
- *
+ * The color PaleVioletRed
+ *
*
* |
*
@@ -885,8 +885,8 @@ public static class Pinks
**/
public static final Color PaleVioletRed = Color.decode("#DB7093");
/**
- * The color Fuchsia
- *
+ * The color Fuchsia
+ *
*
* |
*
@@ -894,8 +894,8 @@ public static class Pinks
**/
public static final Color Fuchsia = Color.decode("#FF00FF");
/**
- * The color HotPink
- *
+ * The color HotPink
+ *
*
* |
*
@@ -903,8 +903,8 @@ public static class Pinks
**/
public static final Color HotPink = Color.decode("#FF69B4");
/**
- * The color LightPink
- *
+ * The color LightPink
+ *
*
* |
*
@@ -912,8 +912,8 @@ public static class Pinks
**/
public static final Color LightPink = Color.decode("#FFB6C1");
/**
- * The color Pink
- *
+ * The color Pink
+ *
*
* |
*
@@ -924,8 +924,8 @@ public static class Pinks
public static class Purples
{
/**
- * The color Indigo
- *
+ * The color Indigo
+ *
*
* |
*
@@ -933,8 +933,8 @@ public static class Purples
**/
public static final Color Indigo = Color.decode("#4B0082");
/**
- * The color Purple
- *
+ * The color Purple
+ *
*
* |
*
@@ -942,8 +942,8 @@ public static class Purples
**/
public static final Color Purple = Color.decode("#800080");
/**
- * The color DarkSlateBlue
- *
+ * The color DarkSlateBlue
+ *
*
* |
*
@@ -951,8 +951,8 @@ public static class Purples
**/
public static final Color DarkSlateBlue = Color.decode("#483D8B");
/**
- * The color DarkMagenta
- *
+ * The color DarkMagenta
+ *
*
* |
*
@@ -960,8 +960,8 @@ public static class Purples
**/
public static final Color DarkMagenta = Color.decode("#8B008B");
/**
- * The color MediumVioletRed
- *
+ * The color MediumVioletRed
+ *
*
* |
*
@@ -969,8 +969,8 @@ public static class Purples
**/
public static final Color MediumVioletRed = Color.decode("#C71585");
/**
- * The color DarkViolet
- *
+ * The color DarkViolet
+ *
*
* |
*
@@ -978,8 +978,8 @@ public static class Purples
**/
public static final Color DarkViolet = Color.decode("#9400D3");
/**
- * The color SlateBlue
- *
+ * The color SlateBlue
+ *
*
* |
*
@@ -987,8 +987,8 @@ public static class Purples
**/
public static final Color SlateBlue = Color.decode("#6A5ACD");
/**
- * The color BlueViolet
- *
+ * The color BlueViolet
+ *
*
* |
*
@@ -996,8 +996,8 @@ public static class Purples
**/
public static final Color BlueViolet = Color.decode("#8A2BE2");
/**
- * The color DarkOrchid
- *
+ * The color DarkOrchid
+ *
*
* |
*
@@ -1005,8 +1005,8 @@ public static class Purples
**/
public static final Color DarkOrchid = Color.decode("#9932CC");
/**
- * The color MediumSlateBlue
- *
+ * The color MediumSlateBlue
+ *
*
* |
*
@@ -1014,8 +1014,8 @@ public static class Purples
**/
public static final Color MediumSlateBlue = Color.decode("#7B68EE");
/**
- * The color RosyBrown
- *
+ * The color RosyBrown
+ *
*
* |
*
@@ -1023,8 +1023,8 @@ public static class Purples
**/
public static final Color RosyBrown = Color.decode("#BC8F8F");
/**
- * The color MediumPurple
- *
+ * The color MediumPurple
+ *