Solved

Black Windows using Swing on Solaris

Posted on 2001-06-22
6
254 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
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

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

Expert Comment

by:objects
Comment Utility
Is the video card in the offending system a PGX-32?


0
 

Author Comment

by:gmancuso
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 92

Accepted Solution

by:
objects earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Best of luck and thanks for the points :)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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:

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now