How is this done in Java (properly), through the Java API somehow?
SendMessage() is very much Windows-specific. I believe that there is no platform independent model of it in Java.
Therefore, you either have to find another way to interact with your external program (does it have a CORBA API, for instance?) or you have to use JNI. The JNI code for the above would be really very easy, once you got over the initial JNI learning curve.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
It looks like you may not have read our naming policy on the way in. It reqiures that you use a full, real (sounding) first and last name for your display name, and I'm not convinced that you're meeting the "real-sounding" criterion. You can change your display name here.