On 28 Oct, Armen Yampolsky wrote:
> 
> 
>> The AWT doesn't do well with X visuals not matching those found on
>> Solaris platforms. In some past discussion on this topic, it came up
>> that running the X server at depth 15 (X -bpp 15) creates a visual (5
>> bits for each primary) that the AWT seems to like much better.
> 
> I have found that setting my display to 15bpp does seem to work fine for the 
>jdk1.2pre2, but it still does not work if I run the java app remotely on a Solaris 
>box with JDK1.2
> (and then setting the display to my 15bpp X Server). Has anyone noticed this sort of 
>problem? Any workarounds?

Now *that* is interesting. My guess is that, despite whatever
weaknesses Blackdown inherited in Sun's X code, they've probably
tweaked the AWT to be a bit more robust in the face of certain visuals
than Sun's version is.

Does XFree86 support more than one visual when running 15bpp? Maybe a
different visual wouldn't bother the AWT so much. You might be
interested in exploring my xwinwrap tool
(http://www.teleport.com/~nmeyers/FreeWare); it allows you to request a
non-default visual. I've only used it on Linux, but I believe Solaris
also has the LD_PRELOAD capability required to make it work.

Nathan

> 
> -Armen
> 
> 
>> On 27 Oct, Chris LeDantec wrote:
>> > We've noticed a problem with the Metal look-and-feel and 16 bit color.
>> >
>> > Basically, if an X server is set to 16 bit color depth, then applications
>> > (specifically NetBeans Developer) will not load the Metal look and feel --
>> > subsequently crashing.
>> >
>> > Is this an issue with the motif libraries that are linked in with java at
>> > this time?  If the color depth is set to 8 bit  or 24 or 32 bit then
>> > everything works fine, no problems.  It is only an issue that arises with
>> > the 16 bit color depth.



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

Reply via email to