Results 1 to 5 of 5
  1. #1
    dhazwa is offline Member
    Join Date
    Jul 2011
    Posts
    15
    Rep Power
    0

    Default whats the difference between opening a file by double clicking it or with java?

    I have a program that opens an .html file, but it opens differently when I open it with the program and when I open it manually by double clicking the file. Is there a reason this is happening?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,274
    Rep Power
    25

    Default

    What program is used to open a file when it is clicked on is determined by the OS.
    Does the OS use your program to open the file or does it use another program?

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

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

    Default

    Quote Originally Posted by dhazwa View Post
    I have a program that opens an .html file, but it opens differently when I open it with the program and when I open it manually by double clicking the file. Is there a reason this is happening?
    Could you be a bit more vague please?

    db
    Last edited by DarrylBurke; 08-30-2011 at 07:57 AM.

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

    Default

    Quote Originally Posted by DarrylBurke View Post
    Could you be a bit more vague please?
    I'll try.

    File. Click. Confused.
    Last edited by DarrylBurke; 08-30-2011 at 07:57 AM.

Similar Threads

  1. Double-clicking .jar files?
    By StokedOnMe in forum New To Java
    Replies: 11
    Last Post: 04-23-2014, 12:52 PM
  2. Double Clicking Executable Jar File
    By javawriter in forum New To Java
    Replies: 7
    Last Post: 07-30-2010, 10:26 PM
  3. Executing JAR File by double clicking
    By jasmu in forum Advanced Java
    Replies: 11
    Last Post: 04-22-2009, 12:51 PM
  4. Whats the difference between these two?
    By arnab321 in forum New To Java
    Replies: 4
    Last Post: 03-06-2009, 05:13 AM
  5. whats the difference between Java core,J2EE......
    By prince24 in forum New To Java
    Replies: 2
    Last Post: 07-11-2007, 06:54 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
  •