int trans_y(double d)
{
return (int)(((2D - d) / 4D) * (double)getSize().height);
}

public void update(Graphics g)
{
paint(g);
}

public void paint(Graphics g)
{
setBackground(new Color(230, 255, 255));
g.drawString("第9回課題 T000000 龍谷 太郎", getSize().width - getFont().getSize() * 15, getFont().getSize());
g.fillOval(trans_x(x[0]) - 2, trans_y(x[1]) - 2, 3, 3);
}

static final double XMIN = -2D;
static final double XMAX = 2D;
static final double YMIN = -2D;
static final double YMAX = 2D;
Thread th;
double x[] = {
1.5D, 0.5D, 0.0D, -0.40000000000000002D
};
double dt;
double L;
double M;
double G;
}