TextAttribute.SUPERSCRIPT_SUB, 1, 2);
a2.setLabel(l2);
assertEquals(a1, a2);
// label insets...
a1.setLabelInsets(new RectangleInsets(10.0, 10.0, 10.0, 10.0));
assertNotEquals(a1, a2);
a2.setLabelInsets(new RectangleInsets(10.0, 10.0, 10.0, 10.0));
assertEquals(a1, a2);
// label angle...
a1.setLabelAngle(1.23);
assertNotEquals(a1, a2);
a2.setLabelAngle(1.23);
assertEquals(a1, a2);
// label location...
a1.setLabelLocation(AxisLabelLocation.HIGH_END);
assertNotEquals(a1, a2);
a2.setLabelLocation(AxisLabelLocation.HIGH_END);
assertEquals(a1, a2);
// axis line visible...
a1.setAxisLineVisible(false);
assertNotEquals(a1, a2);
a2.setAxisLineVisible(false);
assertEquals(a1, a2);
// axis line stroke...
BasicStroke s = new BasicStroke(1.1f);
a1.setAxisLineStroke(s);
assertNotEquals(a1, a2);
a2.setAxisLineStroke(s);
assertEquals(a1, a2);
// axis line paint...
a1.setAxisLinePaint(new GradientPaint(1.0f, 2.0f, Color.RED,
3.0f, 4.0f, Color.BLACK));
assertNotEquals(a1, a2);
a2.setAxisLinePaint(new GradientPaint(1.0f, 2.0f, Color.RED,
3.0f, 4.0f, Color.BLACK));
assertEquals(a1, a2);
// tick labels visible flag...
a1.setTickLabelsVisible(false);
assertNotEquals(a1, a2);
a2.setTickLabelsVisible(false);
assertEquals(a1, a2);
// tick label font...
a1.setTickLabelFont(new Font("Dialog", Font.PLAIN, 12));
assertNotEquals(a1, a2);
a2.setTickLabelFont(new Font("Dialog", Font.PLAIN, 12));
assertEquals(a1, a2);
// tick label paint...
a1.setTickLabelPaint(new GradientPaint(1.0f, 2.0f, Color.yellow,
3.0f, 4.0f, Color.BLACK));
assertNotEquals(a1, a2);
a2.setTickLabelPaint(new GradientPaint(1.0f, 2.0f, Color.yellow,
3.0f, 4.0f, Color.BLACK));
assertEquals(a1, a2);
// tick label insets...
a1.setTickLabelInsets(new RectangleInsets(10.0, 10.0, 10.0, 10.0));
assertNotEquals(a1, a2);
a2.setTickLabelInsets(new RectangleInsets(10.0, 10.0, 10.0, 10.0));
assertEquals(a1, a2);
// tick marks visible flag...
a1.setTickMarksVisible(false);
assertNotEquals(a1, a2);