File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes turn my class file into an icon to click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "turn my class file into an icon to click" Watch "turn my class file into an icon to click" New topic
Author

turn my class file into an icon to click

roy williams
Greenhorn

Joined: Mar 13, 2003
Posts: 10
I want to make a class file an icon so i can give it to someone and have them click it to run it not have to set up a path and all and run it from the command line.
anyone know the scoop on this??
thanks
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, roy!
Take a look at Creating an Executable JAR. You might otherwise consider creating a bat file that would run your Java app.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
roy williams
Greenhorn

Joined: Mar 13, 2003
Posts: 10
thanks dirk, appreciate the response- I will try it out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: turn my class file into an icon to click