Once you get the screen running it's Xwindows that drives it, not Java.
As long as the windowing system works on a full size screen with your Java program there's no reason to assume it won't work on your smaller screen.
Note: Having anything remotely humorous in your signature is completely banned on this forum.
Any DMs sent on Twitter will be answered next month.
This is a hippy & doctor free zone.