Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Digital map application with Java GUI

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Digital map application with Java GUI

    hi all..
    i'm the beginner..
    i need u help for my task...
    i want to make a digital map application with java GUI..
    hm... digital map like google earth... but more simple than google earth...
    can u give me tutorials??


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: [ASK]making a map

    Do you have access to a digital map that you wish to use?

    First you would need to create the GUI. There is a really good Swing tutorial here:

    Trail: Creating a GUI with JFC/Swing (The Java Tutorials)

    If you wish to show a digital map via a web browser component on your GUI then I would look into this:

    JExplorer — TeamDev Ltd.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: [ASK]making a map

    but.. how if i don't want to put my digital map in web browser??

    another question...
    can i make clrscr() like C programming in JAVA??
    can u give me a tutorial??

    thx b4

  4. #4
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: [ASK]making a map

    You can program a Frame based application rather than an Applet Based application using the Swing GUI. Thus you do not need to use a web browser.

    clrscr() is not a C standard, it is part of the CLR managed code templates provided with Visual C. It applies to console application, you will not be wanting to make a Map Application in a console...its not possible*.

    My advice to you is you NEVER clear the console screen, you do not own it. Other things do to, clearing is a big mistake. Java, just like C & C++ has NO standard method of doing it, you can do OS specific things such as calling cls on windows or clear on linux.

    But all in all avoid it! clrscr() is not standard just for the record, and should never be used in programming!

    Chris

Similar Threads

  1. [SOLVED] How to start writing java mobile application?
    By Kok in forum Java ME (Mobile Edition)
    Replies: 15
    Last Post: July 30th, 2009, 01:52 AM
  2. Problem while programming a simple game of Car moving on a road
    By rojroj in forum Java Theory & Questions
    Replies: 3
    Last Post: April 2nd, 2009, 10:24 AM