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.
OK、私がこの画像を持っているとしましょう:
ImageIcon imageBack = new ImageIcon(System.getenv("APPDATA") + "\.my_game\bg.png");
オンとJPanelオフを切り替えることができます。JPanelカスタムを使用するにはどうすればよいImageIconですか?
JPanel
ImageIcon
要件に応じて、Background Panelのいずれかのソリューションを使用できます。