0

I'm using Netbeans to try and create a little minigame for a class project. We haven't learned to make objects move, and I want to do a little extra.

Consider that I have a label and a button. When I click the button, I want the label to begin moving laterally to the right, parallel to the x-axis. How do I do this?

Beau Grantham
  • 3,435
  • 5
  • 33
  • 43
Ben
  • 321
  • 1
  • 6
  • 21
  • are using swing libraries for this? – Saumil Jun 13 '15 at 01:52
  • Check out java-gaming.org as an excellent resource for questions related to games and Java. I'm not clear that the answer for Hovercraft's "duplicate" is the best, actually. Also, there are better ways to do animation that using buttons and labels. It would be easier to answer at JGO. – Phil Freihofner Jun 13 '15 at 02:08

0 Answers0