@Override public Object clone() throws CloneNotSupportedException {
  CategoryAxis clone=(CategoryAxis)super.clone();
  clone.tickLabelFontMap=new HashMap(this.tickLabelFontMap);
  clone.tickLabelPaintMap=new HashMap(this.tickLabelPaintMap);
  clone.categoryLabelToolTips=new HashMap(this.categoryLabelToolTips);
  clone.categoryLabelURLs=new HashMap(this.categoryLabelToolTips);
  return clone;
}

@ Override public Object clone ( ) throws CloneNotSupportedException { CategoryAxis clone = ( CategoryAxis ) super . clone ( ) ; clone . tickLabelFontMap = new HashMap ( this . tickLabelFontMap ) ; clone . tickLabelPaintMap = new HashMap ( this . tickLabelPaintMap ) ; clone . categoryLabelToolTips = new HashMap ( this . categoryLabelToolTips ) ; clone . categoryLabelURLs = new HashMap ( this . categoryLabelToolTips ) ; return clone ; }
creates a clone of the axis .
