Created
September 30, 2017 15:10
-
-
Save kleinlennart/d6035c964c22ac94fb6581bebeb41743 to your computer and use it in GitHub Desktop.
Set an Image as background for JFrame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frame.setContentPane(new JLabel(new ImageIcon(TestBack.class.getResource("/images/Test.jpg")))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment