Re: how to run java plugin with green threads?

2002-05-25 Thread shudo

Wilhelm,

> I'm using the 1.3.1_02 version of the blackdown JDK with mozilla RC2 
> on PPC.  I'm trying to work around the fact that various applets 
> SIGSEGV the JVM, and I've discovered via testing in appletviewer that 
> these same applets work fine when I run the JVM with green threads.

I'm not sure that green threads can help you.  Anyway,

> Now I'm trying to figure out how to get the java plugin to use green
> threads.

> Is this at all possible?

It is not impossible but not so easy.
I have tried it this January and got success.

We have to modify the source code of the Java Plug-in and recompile it
because the kind of JVM (i.e. HotSpot Client, HotSpot Server or
Classic) and the type of threads (native or green) are written in the
source code immediately.  The source code of the Plug-in is included
as part of the source code of Java 2 SDK.

I could actually use Classic VM and green threads with Netscape
Navigator 4.X by modifying the source code.  FreeBSD JDK 1.3.1p6
includes a Java Plug-in which uses green threads since the green
threads version of the their JDK is still stabler.


  Kazuyuki Shudo[EMAIL PROTECTED]  http://www.shudo.net/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




JDialog.setVisible(true) -> iconified

2002-05-25 Thread Dick Repasky


Hi,

I'm having difficulty with JDialog.setVisible() on Blackdown Java-Linux 
Java(TM) 2 SDK, Standard Edition Version 1.3.1  FCS and above (meaning the
latest, too).  The first time that I use the setVisible method of
a dialog it comes up fine.  After I hide it with setVisible(false),
calls to setVisible(true) make the JDialog visible but only as a closed
icon, and I must click on the icon to actually see the JDialog.  This wasn't
a problem on earlier versions of Blackdown, and I don't have the problem
using Sun's JRE on Windows or Solaris or using the latest Apple MRJ
for Mac OS X.

What's up?

Thanks,

Dick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]