Creating buttons and TextFields in Java AWT

Started by
3 comments, last by Glass_Knife 9 years, 8 months ago

I'm pretty good at java swing gui's, but since I have been working with java's awt class I have found nothing of buttons or textfields. So I have been creating them myself.

So My question is "Am I being Stupid and just over looking something really easy"? on a side not if on the slight chance that I am doing things correctly my thought is mimicking the swing buttons and making classes like them.

Advertisement

Never mind I'm an idiot, sorry for bothering you all.

What are you going that has you using an AWT class?

I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming

My Twitter: https://twitter.com/indieprogram

My Book: http://amzn.com/1305076532

I have a game loop that has an update and render method and I need ui components that can be rendered to the screen. I got it answered here http://www.gamedev.net/topic/659643-buttons-that-have-a-render-method/.

I have a game loop that has an update and render method and I need ui components that can be rendered to the screen. I got it answered here http://www.gamedev.net/topic/659643-buttons-that-have-a-render-method/.

Have you looked at these tutorials?

http://www.gamedev.net/page/resources/_/technical/general-programming/java-games-active-rendering-r2418

http://www.gamedev.net/page/resources/_/technical/general-programming/java-games-keyboard-and-mouse-r2439

I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming

My Twitter: https://twitter.com/indieprogram

My Book: http://amzn.com/1305076532

This topic is closed to new replies.

Advertisement