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.
setOpaque(false); を使用してみました。しかし、それはJPanelの背景を白くするだけです..パネルをまったく描画しないようにするにはどうすればよいですか?.
あなたは自分で質問に答えました。
JPanel は白くなりませんでしたが、不透明でなくなったため、その背後にある JFrame (またはその他のコントロール) が表示されました。