Re: Problems jdk-1.1.8-v3 + Slackware7.0

2000-10-23 Thread Peter Johnson
Oddly enough, you might try jdk 1.1.6 v5 for glibc. We're using it with a great deal of success, on Linux kernel 2.2.17, glibc 2.1.3. We had font rendering problems as well as severe slowdowns and/or segmentation violations on all the newer versions from IBM, Sun and Blackdown. Peter Jo

How the heck do you hide the cursor???

2000-09-01 Thread Peter Johnson
I give up! There doesn't appear to be anything so obvious as hideCursor(); setEnable(false) doesn't do it. Using createImage (255,255,255,255) to supposedly create a completely transparent image, then calling Toolkit.createCustomCursor() and setCursor() results in a huge, opaque, white square. In

How the heck do you hide the cursor???

2000-09-01 Thread Peter Johnson
I give up! There doesn't appear to be anything so obvious as hideCursor(); setEnable(false) doesn't do it. Using createImage (255,255,255,255) to supposedly create a completely transparent image, then calling Toolkit.createCustomCursor() and setCursor() results in a huge, opaque, white square. In

Re: Kaffe/AWT

2000-06-14 Thread peter johnson
parts which try to load the images. Judging from the rather esoteric errors in the kaffe bug database, somebody's getting this stuff to run. Do I need a secret decoder ring or what??? I desperately need an open-source replacement for Java so I'm willing to try all suggestions. Thanks pet

Kaffe/AWT

2000-06-09 Thread peter johnson
at depend on MouseEvent, FocusEvent and WindowEvent. I'm working on this - meanwhile, any suggestions for quicker alternatives will be gladly accepted if anybody has already solved this problem. Thanks in advance. -- Peter Johnson [EMAIL PROTECTED] -

Re: Ambiguous class

2000-05-29 Thread peter johnson
private Date[] getAbsenceDate(String condition) { > --- > > - > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] with a subject of "unsubscribe".

Re: Ambiguous class

2000-05-29 Thread peter johnson
private Date[] getAbsenceDate(String condition) { > --- > > - > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] with a subject of "unsubscribe".

Re: Java App placement in Gnome

2000-01-27 Thread peter johnson
ALT-TAB will switch between windows on fvwm and fvwm-95, maybe with other window managers also. Window.toFront() will move a window to the foreground and get the focus; Component.requestFocus() should make a component active, although I've found this doesn't work sometimes, particularly if the co

Re: Linux JDK applets on other platforms

1999-07-27 Thread peter johnson
Glenn, You're lucky - Netscape on Linux won't run some of my (perfectly coded, of course :-) applets. HotJava runs everything I can throw at it, along with appletviewer. Netscape on windoze 95 or IE 4.01 runs them; IE hangs on windoze 98. Tried installing the IE 50.0 upgrade and it rendered the

Re: Sending mail from an application (Pre-v2 JDK, Redhat 6.0)

1999-07-23 Thread peter johnson
You don't need any extensions; Java 1.1 can do all the common URLs. try this: /** send e-mail to current e-mail address; */ private static void sendEmail (String text) { // missing address if (email == null || email.length () < 1) System.out.println ("No e-mail address sp

Re: Magician pulled off the market

1999-03-14 Thread peter johnson
esn't just want to beat microsoft in the marketplace - sun wants to be microsoft. It's really too bad, since SUN (Stanford University Network) wouldn't exist without free (in the FSF sense) software. Peter Johnson [EMAIL PROTECTED]

Re: Linux World

1999-03-05 Thread peter johnson
more reasonable way than Swing or Java3D. Yes! there is garbage collection, but not asynchronous - just call System.gc() at convenient points in your code - prevents those nasty animation glitches and strange 3 second pauses in execution. Peter Johnson [EMAIL PROTECTED] -

Re: Swing Core Dump...?

1999-01-23 Thread peter johnson
It's not xfree, per se. But your new kernel may require libc6 (glibc); this would mean you have to install the glibc version of JDK. If this is the problem, you may want to go ahead and install 1.1.7 while you're at it. TJ Saunders wrote: > Hello, all. Up until recently, I was doing just fi

Re: Netscape and applets

1999-01-04 Thread peter johnson
Try HotJava. Since it is written in Java, it will run anything the JVM from your JDK will run. Paul Gearon wrote: > I have a strange problem with Netscape on my RH6.1 system. > > I have a class called myapp.server.FrontEnd which extends Applet > (naturally). I have a reference to it in a .html

Re: Question

1999-01-03 Thread peter johnson
Of course you can write a file - there's nothing magic about Applets. Set your browser's security to allow it. Most browsers are set to some set of high-security options by default. The other option is to sign your Applet; most browsers allow different security levels for signed (trusted) and u

Re: Basics of using JNI under Linux

1998-11-05 Thread peter johnson
a:81) > > Any suggestions? > > Nick Matsakis I'm not 100% sure, but I believe you have to use -PIC (position independent code) flag on the compile. Peter Johnson [EMAIL PROTECTED]

Re: problems with finalize()

1998-08-29 Thread peter johnson
unning System.gc() after all references to the object are null. This should force the finalizer to run. hopr this helps Peter Johnson [EMAIL PROTECTED]

Re: sending image

1998-08-11 Thread peter johnson
d red, green, blue, alpha in a class of your own that is declared serializable. Another way to do it is to paint the image on a Canvas (or other component) and serialize that, since all components are serializable. Hope this helps, Peter Johnson [EMAIL PROTECTED] Stefano Fratini wrote: > Hall

Re: write() bug under 2.1.x kernels...

1998-08-08 Thread peter johnson
ell whether this is a driver problem, a Java problem (the infamous green threads) or what. When I run client and server on the same machine, the sockets work correctly; i.e.: when a client exits, the server immediately gets a broken pipe on write() and eof on read; same for client if the server exits.

Re: Slackware & jdk116v2

1998-07-10 Thread peter johnson
rses.so.3.0) > I've never seen this before, but it looks like you're missing a library or two. Hope this helps. Peter Johnson [EMAIL PROTECTED]

Re: Trouble in installing jdk in linux machine

1998-06-26 Thread peter johnson
Ulrich Kortenkamp wrote: > Giju> I tried to install jdk1.1.6 in my linux machine but it was > Giju> giving some errors which is reported here: I am usning red > Giju> hat linux. Please look into the matter. > > This seems to me to be related to the shell problem several people > en

Re: A short one

1998-06-18 Thread peter johnson
Ville Laakso wrote: > How can I make something happen, say, every 5 seconds? > > -Ville Laakso > [EMAIL PROTECTED] At least two ways: Either call Thread.sleep (5000) or, if you have other things to do, GregorianCalendar timeout=null, timenow=null ; timeout = new GregorianCalendar () ; timeo

Re: Newbie re:deprecated API ?

1998-06-14 Thread peter johnson
r, etc. as THEY upgrade. Peter Johnson [EMAIL PROTECTED] Glenn Valenta wrote: > When I compile application(not applets) examples out of most of my > books, (Java-how to program) I get the error ... > > "Addition.java uses a deprecated API. > Recompile with "-deprec

Re: Getting TYA to compile

1998-06-14 Thread peter johnson
described. Don't even try to modify tya.h - that way lies madness. Hope this helps, Peter Johnson [EMAIL PROTECTED] Peter Schuller wrote: > Hi! > > I'm having problem getting TYA to compile... I've done alot of programming but > I still haven't learned to figure