The simplest way is to use Swing components, however that only works well when using jPCT in Software rendering mode. What I am doing in my MapMaker program to work in both Hardware and Software rendering modes, is to use Overlays (and menu components that I programmed myself). That route, however, is much more involved. I am relatively new to jPCT myself, though, so these may not be your only two options.