Beispiel #1
0
 public void setXY(double x, double y) {
   xaxis.setLocation(y); // Added by Paco
   yaxis.setLocation(x); // Added by Paco
 }
Beispiel #2
0
 public void setY(double y) {
   xaxis.setLocation(y); // Added by Paco
 }
Beispiel #3
0
 public void centerAxes(DrawingPanel panel) {
   xaxis.setLocation((panel.getYMax() + panel.getYMin()) / 2);
   yaxis.setLocation((panel.getXMax() + panel.getXMin()) / 2);
 }