Package basic

Examples of basic.CPoint2D


  }
 
  public void mousePressed(MouseEvent e) {
    if (e.getSource().equals(result)) {
      if (tool_newball.isSelected()) {
        CPoint2D p = new CPoint2D(e.getX() * (xrange/width) - (xrange/2),
            e.getY() * (yrange/height) - (yrange/2), 1.0);
        result.addPoint(p);
        result.repaint();
        System.out.println("woot");
      } else if (tool_selector.isSelected()) {
View Full Code Here

TOP

Related Classes of basic.CPoint2D

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.