This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 2452
    
    8

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 OCPWCD5 OCPBCD5
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
 
GeeCON Prague 2014
 
subject: Launch Notepad