Hey guys I'm creating a game similar to farmville in java and I'm just wondering how would I implement the interactive objects/buttons that the user would usually click to interact with the game client.
I do not want to use the swing library (generic windows looky likey objects), I would like to import custom images for my buttons and assign button like properties to those images which would be used for the GUI.
Any advice? Any pointers? I can't seem to find that information through youtube or some other java gaming sites as they're only showing simple example using swing.
Any help would be deeply appreciated thanks!
Gareth You really should start with Swing or SWT to get the default look and feel of your environment and customize from there. If you start with AWT then you'll need to put the work into stylizing your app for each OS.
以上就是Creating a Interactive GUI for a java game的详细内容，更多请关注web前端其它相关文章！