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 5 of 5

Thread: import HTML file in java application

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default import HTML file in java application

    hi
    i am trying to code a java application which can import .HTML file which is handling google map api 3 and drawing tool
    So .. i have 2 questions :
    1- is that possible ?
    if so after editing the map
    2-how can i capture the map and save it as picture ?

    thx in advance


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: import HTML file in java application

    By "import" do you mean read the contents of the file into a program as a String or array of bytes?
    Is the file on a local disk or on a server?

    Or do you mean read and format the contents of the file like a browser does?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: import HTML file in java application

    like a browser .. or a window that content my Google map

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: import HTML file in java application

    I don't think there is a class in java SE that has all the features for that. The JEditorPane class will display some HTML tags. I doubt it will do Google Maps.
    If you don't understand my answer, don't ignore it, ask a question.

  5. The Following User Says Thank You to Norm For This Useful Post:

    anawany (December 27th, 2013)

  6. #5
    Junior Member
    Join Date
    Dec 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: import HTML file in java application

    Quote Originally Posted by Norm View Post
    I don't think there is a class in java SE that has all the features for that. The JEditorPane class will display some HTML tags. I doubt it will do Google Maps.
    thx for your response

Similar Threads

  1. How do I import user defined packages to my java application.
    By kunalgaurav18 in forum Java Theory & Questions
    Replies: 6
    Last Post: October 11th, 2012, 01:41 PM
  2. how to import my own class in my .java file
    By amr in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 17th, 2010, 09:31 PM
  3. how to import excel file to database table using java
    By palani in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: September 3rd, 2010, 12:17 AM
  4. How to write to specific part of an html file using java
    By nasi in forum File I/O & Other I/O Streams
    Replies: 12
    Last Post: May 27th, 2010, 11:22 PM
  5. how to transform an html file to a web site in java
    By nasi in forum Java Theory & Questions
    Replies: 9
    Last Post: March 28th, 2010, 11:06 PM

Tags for this Thread