• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

How to open notepad on mouse click

 
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 . .
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • 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!
 
I think she's lovely. It's this tiny ad that called her crazy:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!