Search:

Type: Posts; User: hwoarang69

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,576

    Re: replacing thread with timer

    here try compiling this. as you can see it will flicker. let me know if you know how to fix this problem.





    import java.awt.Graphics;
    import java.awt.Image;
    import...
  2. Replies
    11
    Views
    1,576

    Re: replacing thread with timer

    just want to make sure. if you use timer than u replace run() method with
    public void actionPerformed(ActionEvent e)? for ex



    public void actionPerformed(ActionEvent e)
    {
    ...
  3. Replies
    11
    Views
    1,576

    Re: replacing thread with timer

    i look under javax.management.timer but i didnt see it what iam looking for. am i missing some thing?
  4. Replies
    11
    Views
    1,576

    Re: replacing thread with timer

    what is api?
  5. Replies
    11
    Views
    1,576

    Re: replacing thread with timer

    for thread i was implements Runnable. but with timer do i use TimerTask ?
  6. Replies
    11
    Views
    1,576

    replacing thread with timer

    //###########################################################################################################
    /*** stat method ***/
    public void start()
    {
    Thread thread = new Thread(this);...
Results 1 to 6 of 6