Reputation: 81
I have a svg file and it's displaying all right. Now, I want it to fit the window but I couldn't find something like .AutofitToWindow
. I can't change the svg file. Please help.
Upvotes: 0
Views: 249
Reputation: 168825
Put whatever component renders the SVG into the CENTER
constraint of a BorderLayout
.
Upvotes: 0