Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package pakiet1;
- import java.awt.*;
- public class PointKY {
- private Point point = new Point();
- public PointKY(int x, int y)
- {
- point.x=x;
- point.y=y;
- }
- public java.awt.Point getPoint()
- {
- return point;
- }
- public void setPoint(java.awt.Point point)
- {
- this.point=point;
- }
- @Override
- public String toString() {
- return "PointKY{" + "point=" + point + '}';
- }
- }
Add Comment
Please, Sign In to add comment