This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Launch Notepad Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Launch Notepad" Watch "Launch Notepad" New topic
Author

Launch Notepad

Giri Thava
Ranch Hand

Joined: Jun 22, 2006
Posts: 38
What API should I use to launch a notepad. Assume I want to launch a notepad that already exists(test.txt).

Thanks in advance.
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 1977
    
    7

Originally posted by Giritharan Thavalingam:
What API should I use to launch a notepad. Assume I want to launch a notepad that already exists(test.txt).

Thanks in advance.


Try AWT TextArea or Swing JTextArea


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7
Justin Russo
Ranch Hand

Joined: Oct 21, 2007
Posts: 77
Try this..



You Want it.. Get it.......the Right Way...<br /> <br />SCJP 5.0 SCWCD 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Launch Notepad
 
Similar Threads
Help please, Runtime.exec
What tool do you use to create HTML files in assignment?
Recommended Java IDE for a beginner?
html editor
Launching a notepad from an applet