class Toolbox
{
    private int x;
    private int y;
    public void move(int x, int y)
    {
        this.x = x;
        this.y = y;
    }
    // ...
}
class Window
{
    private int x;
    private int y;
    public void move(int x, int y)
    {
        this.x = x;
        this.y = y;
    }
    // ...
}
