Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+6 votes

Does anyone know how to make the image fit the background of the Border Panel when every we change the with and the height ??

Thank you.

asked in CSC305 Fall 2019 by (1 point)

2 Answers

+1 vote

We haven't figured out how to add a window size listener to scale the background every time the window size is changed. We just have our background set to an initial size that is best for game play. We tested out some code to add a window size listener in our main method, but it doesn't seem to work very well

answered by (1 point)
0

Thank you.

+1 vote

We don't have anything to fit the background, we just have the background set to an initial size and that works for us.

answered by (1 point)
0

Thank you.

...