Re: application to start automatically at boot

2000-11-15 Thread Dr. Michael Christiansen
In the shell script, you can get the process id of the process last started IN THE BACKGROUND. It is a shell variable. In ksh the variable is $!. The idea is to write this value into a file associated with your application. Something like: java myclass & echo $! > myclass.pid Now the file mycla

Re: Sun JDK 1.3.0 RC

2000-09-09 Thread Michael Christiansen
I downloaded and tested this yesterday on a Redhat 6.2 installation. My application ran fine for a while but some time during the night it crashed with a hotspot exception. The error message printed to the console asked to report the error to a URL that didn't work. Doesn't this scare anyone? I

Re: Sometimes easy things are hard/impossible in Java

1999-09-09 Thread Michael Christiansen
I think the solution to your layout is to use GridBagLayout. If I understand your description, you will need a 10 column / 3 row layout. The first two rows occupy columns 1&2, 5&6, 9&10. Row 3 buttons occupy columns 2-4, 7-9. However, the multi-panel layout is not at all unreasonable. All this ass

Re: how to catch stdout

1999-08-24 Thread Michael Christiansen
If you are running the C program within the Java app, you start the C app with the class Runtime. This creates a Proces, and you have acces to the C app's stdin / out as ioStreams. Capture this and send to your text component, whatever... Mike David Chen wrote: > Hi all, > > I have a general Ja

Re: [Off-topic] Drag-n-drop applet?

1999-08-12 Thread Michael Christiansen
Netscape's IFC (Internet Foundation Classes) support D&D. This is AKO pre-swing library, and lacks the support enjoyed by the swing / bean market. Mike Robb Shecter wrote: > Hi, > > IBM has a set of Java Beans that enable drag and drop for Java 1.1. I'm > checking it out right now to see if i