Results 1 to 2 of 2
  1. #1
    Zocheyado is offline Member
    Join Date
    Apr 2011
    Rep Power

    Default Java visual grid. and X, Y cordinates

    So in my spare time i decided to start making some small games to get better with java GUI and graphics, and my first project is battleship. So im going to make the ships objects where they will have hp, shots left, and X and Y coordinates. Now my question is, is there a way to setup a visual grid of some sort so that I can actually get x,y values in the ship object to actually correspond with the jpanels x,y in some way. Im assuming it will use mouselisteners but im still kinda vague on what I should do. any ideas? thanks for any info!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Java visual grid. and X, Y cordinates

    You didn't ever return to the first thread you started.

    Why should we expect anything to be different this time round?

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 15
    Last Post: 01-11-2012, 03:05 AM
  2. Java and Visual Basic
    By knightwriter in forum New To Java
    Replies: 6
    Last Post: 12-29-2011, 10:41 PM
  3. Replies: 0
    Last Post: 12-13-2009, 07:44 AM
  4. Replies: 0
    Last Post: 12-08-2008, 02:30 PM
  5. Replies: 2
    Last Post: 08-24-2008, 12:30 AM

Posting Permissions

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