Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
楕円形の上に書く必要があるStringので、楕円形の中央にテキストが表示されます。テキストはg.drawString();メソッドで描画され、楕円は。で描画されg.fillOval();ます。どうすればString上に置くことができますか?
String
g.drawString();
g.fillOval();