Hello there,
First of all, I have very little experience with graphical interfaces in Java, both in the “traditional” GUIs (Swing, SWT, etc) and in game development.
I was wondering what would be the best way to make the UI for a game. Particularly, chat: online games often offer a text field for chatting, and I’d like to know good ways to make one. The first obvious approach is writing your own editbox, but there are so many problems to deal with (cursor position and selection, cut/paste, keyboard shortcuts, input methods and other localization stuff, Unicode combining characters) I hope there are better ways.
I never really enjoyed Swing for its not-very-convincing pseudo-native look (and come on, Metal is awful), but as I’ve heard it’s possible to custom-draw its controls, they could be really handy for games. Is it possible to blend them with good performance graphics? Or are there better methods?
PS: sorry if this was already answered. I couldn’t find anything in my (rather poor) searches.
