How to open txt in java for user

Asked

Viewed 52 times

-2

I create a txt and can read too but how do I open it for the user as if I clicked on it? it can be by the same notepad or make it select the program...

1 answer

0


I found a solution...

    Runtime.getRuntime().exec("notepad C:\\arq.txt");

Browser other questions tagged

You are not signed in. Login or sign up in order to post.