Member Avatar

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!

Member Avatar
+0 forum 1
Member Avatar

Hey, I am now programming in a MacBook Pro and for the KeyCodes in the Robot Class, there is no set key for Command. Can I set a KeyCode to do the actions of the Command key? Thanks

Member Avatar
+0 forum 4
Member Avatar

Hello, I am confused between the differences between a key logger and key listener in Java....i looked online but I couldn't find a straight-up answer. Thanks in advance!

Member Avatar
+0 forum 4
Member Avatar

Hey, Is there a way to get the keycode from a char? I tried using KeyEvent.getKeyCode() but the KeyEvent class didn't have a constructor so it was freaking out. I've been searching for 2+ hours already and nothing. My goal is to have a char, convert it to keycode, and then use the keycode in the robot class's KeyPress([keycode]) method.

Member Avatar
+1 forum 2

The End.