Solved

Black Windows using Swing on Solaris

Posted on 2001-06-22
6
257 Views
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..
0
Comment
Question by:gmancuso
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

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

Expert Comment

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


0
 

Author Comment

by:gmancuso
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?
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 92

Accepted Solution

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

http://developer.java.sun.com/developer/bugParade/bugs/4243518.html
0
 

Author Comment

by:gmancuso
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.

0
 
LVL 92

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

734 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