HOW WOULD I MAKE A BUTTON MOVE?

Discussion in 'Java' started by justineee, Dec 5, 2008.

  1. justineee

    justineee Guest

    I'm just wondering how would I make a JButton move. I am supposed to
    make a program that uses queueing.
    I am supposed to make a "Diner Dash"-like simulation. However, it is
    only a simulation so when the user press start, there will be a screen
    where the buttons move as the waitress and customers.

    Any tips? Please?

    Thanks


    --
    Justine
     
    justineee, Dec 5, 2008
    #1
    1. Advertising

  2. justineee

    awec Guest

    justineee wrote:
    > I'm just wondering how would I make a JButton move. I am supposed to
    > make a program that uses queueing.
    > I am supposed to make a "Diner Dash"-like simulation. However, it is
    > only a simulation so when the user press start, there will be a screen
    > where the buttons move as the waitress and customers.
    >
    > Any tips? Please?
    >
    > Thanks
    >
    >
    > --
    > Justine


    Not 100% sure, but to move a button you could just update the JButtons
    position and then redraw it?
     
    awec, Dec 5, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill Thomason
    Replies:
    2
    Views:
    12,116
    Bill Thomason
    Apr 29, 2005
  2. Fredrik Lundh
    Replies:
    0
    Views:
    394
    Fredrik Lundh
    Jul 6, 2006
  3. Steve Holden
    Replies:
    0
    Views:
    400
    Steve Holden
    Jul 14, 2006
  4. Eduardo78
    Replies:
    0
    Views:
    278
    Eduardo78
    Nov 3, 2005
  5. Andrew Tomazos
    Replies:
    2
    Views:
    693
    Nobody
    Dec 12, 2011
Loading...

Share This Page