#JDialog stops my Imagepanel class from resizing the image
1 messages · Page 1 of 1 (latest)
<@&987246487241105418> please have a look, thanks.
this is my impagepanel class that scales an image to the size of the panel while keeping the dimensions
but after the handleuploadbutton method is called, it will stop working
i tried putting all the rest of the handleuploadbutton method in comments and it will still stop working, so the cause must be inside the first snipped i posted
(rest of handuploadbutton for reference)
expected behaviour:
resizing after using the upload button:
let me know if you need more info, i really have no clue why this happens and would appreciate any help lol