Hi,

I am making a program to open the application TextEdit on a mac (not a specific file, just open the program). I have been researching it, but have not come across much help. I have seen that I should use Runtime or Desktop classes, but i'm not sure which to use (if those are even correct). I have OS X 10.6.8 and I would ultimatly like to use something like /Applcations/TextEdit.app. Is this possible?

Thanks in advance!

I figured it out. For anyone who reads this wondering how to do it, this is what I have...
Desktop d = Desktop.getDesktop();
File f = new File("/Applications/TextEdit.app");
d.open(f);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.