I made a program to search for .txt files.
If I click a file it means that the \"open with\" dialog box should appear, and that dialog box will contain a list of al
What Java code can I use to make the "open with" dialog box appear?
To my knowledge, there is nothing in the J2SE like that. OTOH the Desktop API can open a File in whatever app. is the default consumer.
File