How can I open my Java desktop app by clicking on its file?

Ads
 

How can I open my Java desktop app by clicking on its file?

How can I open my Java desktop app by clicking on the file it creates? This app creates files when selecting its "Save as" option with an extension specificaly defined for this app. For instance, imagine I create an editor app called BlueSky and make its text files save as "*.bsky" files. What must I do to make this *.bsky file open by a double click from windows explorer, and to open inside BlueSky app?

View Answers

September 10, 2011 at 6:30 PM

Hai dear friend... For that you must create 1 jar file..please search how to make a jar file..Once you created that jar file.then you can open application by double clicking on it.


September 12, 2011 at 12:19 PM

Thanks but that's not what i meant.. I CAN open my app by a doubleclick on a jar file but I CAN NOT open my app directly by clicking on a file that my app creates... Its a meter of file type association, I suppose, and I'm not sure how to do that(for Windows)..

Ads









Related Tutorials/Questions & Answers:
How can I open my Java desktop app by clicking on its file?
How can I Convert my Image Files to Text Files? - IDE Questions
Advertisements
how can i simplify my java code
i want to create an icon on my desktop... with this i want to open my web application
How can I to my database to my application
How i can send testing mail on my id using java?
How can I protect my database password ?
how i open my web page
How can i modify my account in roseindia
How to launch my web application from my desktop without opening Netbeans IDE everytime i run the application?
How can I connect my database to my application ?
How can I find my DHCP IP address on my computer?
How can I write a GUI stack program by Java to push Image files instead of other data type items?
how do i make a phone call from my app without quitting my application
How do I decompile Java class files?
how can i use toggle button in my application
how i can add an horizontal scrollbar at my PdfAnnotation ? - JSP-Servlet
How can I learn Java?
how can i open pdf file in assest folder in android application?
How Compare 2 xml files with JDOM - Java Beginners
my hibernate showing the following exception so how i can resolve it
how can i close a frame. - Java Beginners
I want to change my user name on your website ,how can i do this
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
My Base Class is Changing every time in my code. How I can overcome this?
how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers
How can i read a file from nth line onwards in java
how can i connected jsp wih mysql - Java Beginners

Ads