...
If the Raspberry Pi isn't detecting the screen size correctly, you might need to tweak video mode settings and maybe tell the Pi to ignore the capabilities reported by the display. For example, some of the Chalkboard Electronics screens require installing an EDID file and/or changing the boot configuration.
Running a JDK Early Access build on the Raspberry Pi
...
Overview
Content Tools
ThemeBuilder