Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button
#2
Well it all depends what type of button you want to use. Do you want to make your own out of an image? Do you want to use a rectangle? Or do you want to actually use a Swing button?

Generally, you create the button as a private instance variable. Then, during the init() or constructor of your class, you have the button initialize itself. Then in the draw method you simply draw the button. I can provide you with more details as soon as you answer the question above.
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Button - by Aaron Rogers118 - 05-10-2013, 06:22 AM
Re: Button - by brandonio21_phpbb3_import2 - 05-10-2013, 02:52 PM
Re: Button - by Aaron Rogers118 - 05-11-2013, 08:29 AM
Re: Button - by Aaron Rogers118 - 05-13-2013, 01:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)