Results 1 to 4 of 4
  1. #1
    thorobred is offline Member
    Join Date
    Feb 2011
    Posts
    33
    Rep Power
    0

    Default Help with setting up a GUI for a Rock, Paper, Scissors game

    Hello, I wanted to know if I could get some assistance on getting started with setting up a game simulation of rock paper scissors. I am stuck setting up the GUI part of this. I'm really not sure what to import for this or what part of the GUI is the JPanel, JFrame, etc. I didnt know how to show the picture in this msg so I put it as an attachment. If someone can help me I'll really appreciate it.
    Attached Thumbnails Attached Thumbnails Help with setting up a GUI for a Rock, Paper, Scissors game-rockpaperscissor.jpg  

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default

    The JFrame is the window, ie the outer frame for the GUI. Then inside the frame you add as many panels as you need/want. I usually create one main panel which I add to the frame then inside the main panel create a whole bunch of sub-panels. Don't worry about functionality at this point. Just trying and create a GUI where all the components appear in the correct position and with the correct dimensions. Once you have that, move on.

  3. #3
    thorobred is offline Member
    Join Date
    Feb 2011
    Posts
    33
    Rep Power
    0

    Default

    I get it a little, can I get an example of how that would be set up??

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

Similar Threads

  1. Rock, paper, scissors
    By StevenF in forum New To Java
    Replies: 3
    Last Post: 01-30-2011, 11:38 PM
  2. Paper rock Scissors Game inheritance problem
    By kaanax in forum New To Java
    Replies: 7
    Last Post: 08-20-2010, 02:44 PM
  3. Rock Paper Scissors
    By 54byler in forum Advanced Java
    Replies: 2
    Last Post: 04-23-2009, 06:23 AM
  4. Need Help with Rock paper and Scissors Java Game
    By kingsun in forum New To Java
    Replies: 3
    Last Post: 11-17-2008, 03:35 AM
  5. Need help with Rock Paper Scissors Game
    By GettinGwap in forum New To Java
    Replies: 12
    Last Post: 10-19-2008, 06:15 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
  •