Black Windows using Swing on Solaris

Posted on 2001-06-22
Last Modified: 2013-12-05
I am a system administrator (i.e. NOT a java programmer) for two servers and am trying to understand a problem some of my developers are having.  I have two servers, both running Solaris 2.7 and the recommended patch sets.  In one server, the application runs fine, but in the other, Java windows come up with a black center.  If you resize the window, it works fine, but if you resize it back to the original shape (or close to the original shape) it turns black again.  I've also heard reports of some menus in another application exibiting this black foreground, but I don't have access to it to see for myself.  

These same java applications work fine on Win32 machines, no matter which server they connect to.

The only real differences I can see between the two servers is the speed of the processors (2*250 MHz for the server that works, 4*400 MHz for the one that doesn't) or possibly the graphics card.

Anyone seen behavior like this before?  What's going on here?  What can I do to fix it?

I'll apologize in advance for the lack of information, I just don't know what you need to know..
Question by:gmancuso
  • 3
  • 2

Expert Comment

ID: 6220871
Call Sun ask patch for that version. it is refresh paint
problem. I had the problem before.
LVL 92

Expert Comment

ID: 6223748
Is the video card in the offending system a PGX-32?


Author Comment

ID: 6338280
Sorry it took so long to get back... I've been stationed away from my servers and haven't had a chance to do anything with them.

Gaohong, the system is already patched, and still has trouble.  BTW, I think it's EE etiquette to post your proposals as comments.  That way others can still comment on the question.  If your answer turns out to be correct I can always accept a comment as answer.

Objects, Yes, the systems both have PGX-32 cards.  I took a lead from your question and found a bug (still unresolved?) with jre and Sun PGX-32 systems.  There's supposedly a workaround in which you can set the video card to 24-bpp only mode.  The documentation for the pgxconfig app says doing that will "preclude certain 8-bpp applications" from running, but it doesn't specify what those are.  So... first, is the bug really still unresolved?  Furthermore, how can I tell what applications 24bpp only mode will kill?
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

LVL 92

Accepted Solution

objects earned 200 total points
ID: 6339763
The following is reported as fixed in 1.2.2-002 and kestrel-beta:

Author Comment

ID: 6341760
Thanks Objects!

I had actually already read that, but didn't think to check the version # of java that it was fixed in.  (In retrospect, I can't imagine why not... *boggle*)

I'll be upgrading as soon as I get approval.

LVL 92

Expert Comment

ID: 6343183
Best of luck and thanks for the points :)

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
print map entry 34 67
Opening PDF on button click and fill new document 2 35
Java string replace 11 43
pagenation logic how it is working in my code 1 27
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question