Article View: borland.public.jbuilder.java.swing
Article #9155Re: Color allocations on Solaris
From: Joi Ellis
Date: Thu, 18 May 2000 00:00
Date: Thu, 18 May 2000 00:00
35 lines
2010 bytes
2010 bytes
Greg Tomalesky wrote:
>
> Hi gang:
>
> I have a problem running a Java application on Solaris. Actually the
> Java app runs just fine except that it seems to grab all the colors it
> ever going to use and when I run some X/Motif apps they exits saying
> that there are not enough colors. This does not happen if I run the
> X/Motif apps first. I cannot guarantee the startup order. Has anyone
> seen this and found a fix? Please respond via e-mail.
>
> Thanks
> Greg
This is a common problem with color-hungry X applications such as Netscape.
Many X applications have an optional Xresource setting such as netscape's
"-install' command line option.
'netscape --help' and see '-install', '-ncols', and '-no-install'. Other
apps want this placed in .Xresources or app-defaults files instead.
See if your jvm allows you to control the number of colors it consumes,
or its colormap.
Investigate raising the bpp (bits per pixel) setting on your X display.
That should provide your X display with more colors to share.
--
Joi Ellis Software Engineer
Aravox Technologies joi@aravox.com, gyles19@visi.com
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
Technical Details
Message-ID:
<392478B7.520D4312@aravox.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<392446D7.D19A7D6A@tis4000.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ae216212d3b35f7b X-Google-Attributes: gid111d45,public From: Joi Ellis <joi@aravox.com> Subject: Re: Color allocations on Solaris Date: 2000/05/18 Message-ID: <392478B7.520D4312@aravox.com> X-Deja-AN: 625191077 Content-Transfer-Encoding: 7bit References: <392446D7.D19A7D6A@tis4000.com> To: Greg Tomalesky <tomalesk@tis4000.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Aravox Technologies Mime-Version: 1.0 Reply-To: joi@aravox.com Newsgroups: borland.public.jbuilder.java.swing