grp.drawString("~", x座標, y座標);
grp.setFont(new Font("Dialog", 文字のタイプ, 文字の大きさ));
a = 3; b = 5; grp.drawString(Integer.toString(a) + "+" + Integer.toString(b) + "=" + Integer.toString(a + b), 100, 100);
grp.drawString(Integer.toString(a), 100, 100);
(This host) = http://osask.net