Re: time delay

Discussion in 'Java' started by Andy Flowers, Jul 20, 2003.

  1. Andy Flowers

    Andy Flowers Guest

    sleep(...)

    "webster" <> wrote in message
    news:8jzSa.5807$...
    > I have a whole lot of if statements for checkboxes that play sounds if

    they
    > are selected (an example is as follows) but i want a delay between when

    each
    > if statement is played. How do i put a time delay between these?
    >
    > if (checkbox1.isSelected())
    > Base.play();
    > if (checkbox2.isSelected())
    > Base.play();
    >
    > thanks
    > matt
    >
    >
    >
    >
    >
    >
     
    Andy Flowers, Jul 20, 2003
    #1
    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. Anand P Paralkar

    Input Delay and Hold Time

    Anand P Paralkar, Jan 16, 2004, in forum: VHDL
    Replies:
    4
    Views:
    10,377
    Alexander Gnusin
    Jan 20, 2004
  2. Aliki

    Time delay

    Aliki, Sep 22, 2004, in forum: VHDL
    Replies:
    2
    Views:
    757
    Mike Treseler
    Sep 22, 2004
  3. Roedy Green

    Re: time delay

    Roedy Green, Jul 20, 2003, in forum: Java
    Replies:
    1
    Views:
    515
    webster
    Jul 21, 2003
  4. Philip Parker
    Replies:
    11
    Views:
    2,811
    Rufus V. Smith
    Jul 7, 2004
  5. flamesrock
    Replies:
    8
    Views:
    557
    Hendrik van Rooyen
    Nov 24, 2006
Loading...

Share This Page