Home > Back-end >  Java background image
Java background image

Time:11-01

Consult everybody, how does ability let the background image just fill the entire window?

CodePudding user response:

Adjust the size of image pixels and set up the main window, the image position of the x, y is set to 0, 0

CodePudding user response:

The
future programmers reference the original poster? Response:
consult everybody, how does ability let the background image just fill the entire window?

Method one: look at your window, and then put the pictures in the set to the same size as the window
Method 2: write a methodology for the swing, you can search on the Internet, there are a lot of people write method
  • Related