Results 1 to 5 of 5
  1. #1
    mofaker is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default help: I want to design 2D map?

    hi

    I want to design 2D map to tracking a target, but I'm not expert in java GUI

    So, I want to know what a proper or easiest way to do that ?

    to understand clearly what I need, search in youtube for "TMT traking" and see the first result is simple program to tracking car on a table (sorry about that but I cann't add link to my post because I'm new user)

    thanks for all

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

    Default

    You can sort of post links with
    www <dot> somedomainname <dot> com
    or something similar. We'll figure it out from there.

  3. #3
    zweibieren is offline Senior Member
    Join Date
    Aug 2009
    Location
    Pittsburgh, PA
    Posts
    284
    Rep Power
    5

    Default

    Basically, the drawing area will be a JPanel.
    You will override its paintComponent method
    to draw the car at the screen coordinates
    corresponding to the reall world coordinates.
    You can draw any number of items.

    See the Java swing tutorials at Trail: Creating a GUI With JFC/Swing
    and especially the section on Performing Custom Painting.

    For a worked out application, you might look at
    Learning Java - Chapter 6 : Tech

  4. #4
    mofaker is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default

    thanks Fubarable:

    www<dot>youtube.com/watch?v=xMDsKiTxD8g

    ---------------------

    thanks so much zweibieren:

    I'll see these links

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default

    Just another cross poster.
    Swing - Re: help: I want to design 2D map?

    Double posted on the other forum too (one was removed).

    db

Similar Threads

  1. JSP Design.
    By makpandian in forum NetBeans
    Replies: 0
    Last Post: 04-20-2009, 01:21 PM
  2. Design question
    By kfunk in forum New To Java
    Replies: 4
    Last Post: 10-10-2008, 03:33 AM
  3. Design Issue
    By naveenmails in forum Advanced Java
    Replies: 3
    Last Post: 07-29-2008, 03:32 PM
  4. Doubt in Design doc
    By Arulraj in forum Forum Lobby
    Replies: 0
    Last Post: 06-10-2008, 11:32 AM
  5. Design patterns
    By Freddie in forum New To Java
    Replies: 2
    Last Post: 05-12-2007, 06:21 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
  •