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

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)..









Related Tutorials/Questions & Answers:
How can I open my Java desktop app by clicking on its file?
i want to create an icon on my desktop... with this i want to open my web application
Advertisements
How can I Convert my Image Files to Text Files? - IDE Questions
how can i simplify my java code
How can I to my database to my application
how i open my web page
How i can send testing mail on my id using java?
How to launch my web application from my desktop without opening Netbeans IDE everytime i run the application?
How can I protect my database password ?
How can i modify my account in roseindia
How can I connect my database to my application ?
How can I find my DHCP IP address on my computer?
how do i make a phone call from my app without quitting my application
How can I write a GUI stack program by Java to push Image files instead of other data type items?
how can i use toggle button in my application
How do I decompile Java class files?
ModuleNotFoundError: No module named 'filee'
ModuleNotFoundError: No module named 'filem'
ModuleNotFoundError: No module named 'filez'
how i can add an horizontal scrollbar at my PdfAnnotation ? - JSP-Servlet
How can I start my career in data science?
my hibernate showing the following exception so how i can resolve it
ModuleNotFoundError: No module named 'filex'
ModuleNotFoundError: No module named 'filex'
how can i open pdf file in assest folder in android application?
I want to change my user name on your website ,how can i do this
My Base Class is Changing every time in my code. How I can overcome 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
How can I learn Java?
How Compare 2 xml files with JDOM - Java Beginners
I need add my java program with a picture.
how can i close a frame. - Java Beginners
Can I put coursera on my resume?
Can I put online courses on my CV?
Can I learn Hadoop on my own?
Can I learn R on my own?
ModuleNotFoundError: No module named 'ereuse-desktop-app'
ModuleNotFoundError: No module named 'ereuse-desktop-app'
how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers
How can I learn Java in 5 minutes
How can I master Java in one month?
How could I use Socket in my application?
how can i display a pdf file in a jtextarea
How can i read a file from nth line onwards in java
how can i connected jsp wih mysql - Java Beginners
rate my app iphone SDK
How can i draw a line using java swings

Ads