Results 1 to 2 of 2
  1. #1
    carl is offline Member
    Join Date
    Jul 2007
    Posts
    35
    Rep Power
    0

    Default Display random cards

    Hi, I am making a card game and i would like to know how to put images in array so i can display random cards.

    Thanks.

  2. #2
    lenny is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    I think you can create an array of ImageIcons:
    Java 2 Platform SE v1.3.1: Class ImageIcon

    I've never done anything like this though, so it's uncharted territory for me.. let me know if/how it works out.

Similar Threads

  1. Random problem
    By mcal in forum New To Java
    Replies: 18
    Last Post: 01-24-2008, 05:00 AM
  2. random numbers without random class`
    By carlos123 in forum New To Java
    Replies: 4
    Last Post: 01-17-2008, 11:44 PM
  3. Random Generator
    By padutch2 in forum New To Java
    Replies: 1
    Last Post: 12-03-2007, 07:43 PM
  4. Need help with random game!
    By silverq_82 in forum New To Java
    Replies: 4
    Last Post: 08-07-2007, 03:58 PM
  5. Help with Random cards
    By carl in forum Java Applets
    Replies: 1
    Last Post: 08-03-2007, 09:48 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
  •