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.
http://chopapp.com/#vebagc7x
それが私の現在のコードです。
実行すると、フレーム全体が塗りつぶされていることがわかります。オーブが移動する場所を簡単に制限することはできますが、ボタンとテキストを含む下部パネルを作成する簡単な方法はわかりません。ユーザー入力用。
何かアドバイス?
add下の JPanel を画面の南側にadd(new JPanel(), BorderLayout.SOUTH).
add
add(new JPanel(), BorderLayout.SOUTH)