Results 1 to 2 of 2

Thread: Image queue

  1. #1
    GLXRBLT is offline Member
    Join Date
    May 2013
    Posts
    1
    Rep Power
    0

    Cool Image queue

    New to Java here, green as grass

    How would I go about making a clickable image queue?

    The idea is to have an image, and when you click it, the next image appears, let's say there are four images, and when the final one is reached, it loops back to the first one when you click it.

  2. #2
    monkeyjr97 is offline Senior Member
    Join Date
    Nov 2012
    Posts
    258
    Rep Power
    2

    Default Re: Image queue

    New to Java an you want to try this straight away?

    What code have you tried?

    My way to do this would be, store Images in a data structure, then have a Jframe and Jpanel, with a mouseListener, and when you click and image the data structure is iterated through.

Similar Threads

  1. Job queue
    By ConradTSMITH in forum New To Java
    Replies: 0
    Last Post: 08-31-2012, 07:14 AM
  2. Replies: 0
    Last Post: 05-27-2011, 08:46 AM
  3. Queue
    By DCY in forum New To Java
    Replies: 6
    Last Post: 05-04-2010, 08:07 PM
  4. Queue in the GUI
    By jonywalker123 in forum Advanced Java
    Replies: 2
    Last Post: 03-06-2009, 08:33 PM
  5. Using a queue
    By Krmeus in forum New To Java
    Replies: 0
    Last Post: 12-10-2007, 03:38 PM

Tags for this Thread

Posting Permissions

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