Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to open notepad on mouse click

 
aayushpatel
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
Can anybody help me in following problem...i want to open notepad when i will click in applet...waiting for positive rep l y . .
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you trying to do this in an applet? I'd think there would be serious security problems ( i.e. run "format c:" instead of "notepad.exe" ), as well as platform dependency problems ( What happens when someone surfing the 'Net on their Mac or Linux box tries to run your applet? ) with this concept...

Sorry if I sound mean , but perhaps there is another way to reach the results you want to get from this without doing it through notepad...

-Nate

P.S. - Please re-register with a name that conforms to the JavaRanch naming convention... Please register with a name in the format of "first name" + space + "last name". ( Something like "aayush patel" maybe? ) Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic