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.
Code: Select all
[Service]
WorkingDirectory=/home/pi
User=pi
Group=pi
Code: Select all
hours=[0,0,0,0,0,0,
0,0,0,0,0,0,
0,0,0,0,0,0,
0,0,0,0,0,0]
hours[0] = hours[0]+1