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.
再描画する前に () Jframe のすべてのコンテンツをクリアする方法を確認するには? ストップウォッチのようなことをすると、数字が重なり合って描かれていることがわかります
あなたの質問をよく理解している場合は、必要な領域と同じ大きさの背景色で長方形を描く必要があります。それは効果的にその領域を「クリア」し、きれいな「キャンバス」に再び描くことができます