Win a copy of Rust Web Development this week in the Other Languages forum!

Paul Liullllllllllll

Greenhorn
+ Follow
since Jul 07, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Paul Liullllllllllll

thanks, just for display, I'll try what you suggested. But I am still wondering if there is any way to call native application to open a file.
17 years ago
thanks. I know I can use JFileChooser to select a file, but how to display the contents of this file, I mean use notepad or IE to open a file.
17 years ago
Hi,

I have a button, and when I click it, I want to open a file (txt or html) in the local filesystem. In the ActionPerformed method, I don't know use which class to open this file and show the contents, can anyone give me a hint? thanks in advance.
17 years ago