Creating a Interactive GUI for a java game

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! Regards 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前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准