Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    6
    Rep Power
    0

    Default how to get to get image to flash on and off in gui

    Hi
    i am currently doing a game program in netbeans. I have designed my Gui's. and what I want my game to do is for when the new game is started a image pops up and then diserpears the user clicks on the image and scores a point which will show up on a label. and also there will be a timer either counting up or down whichever is easiest then once time has ran out the score is saved and apears on the screen. the problem I have is I designed it all but have no idea how to program it all to work!!! any help would be appreciated as I havent got a clue !!! If needed I can upload my program for peopel to see
    Cheers
    Dan

  2. #2
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    7

    Default

    Use a Thread.

    Oh, and have a look at this.

    ~Matt
    I die a little on the inside...
    Every time I get shot.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Or perhaps you want to try a Swing Timer. If you just want timer function and really aren't doing a background process, then a Timer may be simpler. YMMV.

Similar Threads

  1. Flash application in Java
    By SrihariCh in forum New To Java
    Replies: 0
    Last Post: 03-31-2009, 12:23 PM
  2. SWT Flash Player
    By forthe in forum SWT / JFace
    Replies: 0
    Last Post: 07-29-2008, 08:48 AM
  3. Please Help Me FLASH
    By gleb in forum New To Java
    Replies: 3
    Last Post: 05-11-2008, 06:53 PM
  4. Flash toolbar
    By lenny in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:17 AM
  5. 123 Flash Chat 6.6
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-05-2007, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •