CAD CAM EDM DRO - Yahoo Group Archive

Re: EMC C Code

Posted by Matt Shaver
on 1999-06-14 00:24:00 UTC
> From: Jon Elson <jmelson@...>
> Now, the trick is that the Java interface can run on a different
> computer. But, then, the X-windows interface (Xemc) could run on
> another computer, too, and it is almost as portable as Java.

Having played with it enough to write this program,

http://www.erols.com/mshaver/emcgui.htm

I'd have to say that the promise of "write once, run anywhere" was
considerably overstated. It ran great in Applet Viewer. which is the utility
that comes with Java Development Kit (JDK) you are supposed to use to test
your applets with. It also, oddly enough, worked great in IE. I've seen it
run OK in the Windows version of Netscape, but act weird in Netscape on Linux
and SunOS. The Advanced Windowing Toolkit (AWT) comes with a Button object,
but it only supports ButtonDown events, not ButtonUp. I need ButtonUp for the
jog buttons so I had to create a whole new class of button I called
TextButton that had the features (called methods in Javaspeak) I needed. I
also never figured out how to add support for keyboard KeyUp/KeyDown events
which are all but required (I'll bet Jon would be less than enthusiastic
about a mouse-only GUI for the EMC!).

Matt

Discussion Thread

Robert N. Ash 1999-06-12 06:37:05 UTC Re: EMC C Code Jon Elson 1999-06-12 22:27:02 UTC Re: EMC C Code Robert N. Ash 1999-06-13 05:49:33 UTC Re: EMC C Code paul@x... 1999-06-13 09:51:28 UTC Re: EMC C Code Jon Elson 1999-06-13 22:14:04 UTC Re: EMC C Code Jon Elson 1999-06-13 22:51:09 UTC Re: EMC C Code Matt Shaver 1999-06-14 00:24:00 UTC Re: EMC C Code paul@x... 1999-06-14 05:02:00 UTC Re: EMC C Code shackle@x... 1999-06-14 05:59:29 UTC Re: EMC C Code