• Post Reply Bookmark Topic Watch Topic
  • New Topic

opening objectStreamed files  RSS feed

 
Rich Stepanski
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok... My goal is to open an objectStreamed files in my program by double-clicking on it in windows. I've tried to do this by setting the program to 'open with' to my jar containing my program, and to a batch file that runs the jar.

My problem is getting windows to pass the double-clicked file to my program as an arguement. I really dont have any idea how to do that.

note: my program checks if args[] is empty. If it has an arguement - it tries to objectStream that file in and view it.

Any help or suggestions to do it a different way would be great. Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!