Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.awt.Point;

public class Main {
    private static Point derivePoint(final Point basePoint, final int x, final int y) {
        return new Point((int) basePoint.getX() + x, (int) basePoint.getY() + y);
    }
}