I have followed the solution given
here for fixing high dpi scaling problems, and it has fixed my problem for every other java program except for the ones provided in the software section.
on the left is the window when it opens by default, and on the right is what happens if i try to make it full screen.
If any more information is needed, please let me know and I would be happy to add it.