I'm making a game using LWJGL for a course I'm reading and I have a basic rendering and update loop done and can display my game objects and move them around and now I need to make the surrounding UI (menus for starting the game and such) but I'm not sure how to procede/structure it.
My needs are pretty basic (i need to present some choices and accept text input) so I could roll my own but I feel that there should be another solution? I've been looking a bit at swing and swt, does anyone have any experience with incorporating them into a game? Can i overlay swing/swt components over a opengl rendering in some way?
There are plenty of information on game loops/rendering but none on how to structure the game with a ui in a good way.
What are your thoughts?