• Post Reply Bookmark Topic Watch Topic
  • New Topic

colorModel

 
jiaonu wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a project (java applet) which is desighed using swing, it runs in IE and Netscape very well, but in Solaris Unix system, it has color display problem and pull down list also has display problem, I found about colorModel, but the swing book(java1.2) has no example about how to use ColorModel to design applet or application .Please give some help if possible, thanks.

[This message has been edited by jiaonu wang (edited May 03, 2001).]
 
Matt Robinson
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with color differences/problems from platform to platform. But in the past I've seen people have problems with Swing applications if they were running 256 colors or lower... I would check your Solaris graphics setup and make sure you are using lots of colors
------------------
Matthew Robinson co-author of "Swing" (1999, Manning Publications). Freely available at http://www.spindoczine.com/sbe
 
jiaonu wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks, Matt. Cannot we create platform color independent java applet/application?
The problem is that the Solaris machine that we are developing our applet for is using Dome video card. This card is used in the medical field to produce high resolution "gray scale" graphics. What we are looking for is an example of altering the colorModel of the applet, so we can test different configurations on this machine. Thus, allowing us to find a viable solution to underlining video card problem. The thought is for the applet to control what colors it can use instead of the system deciding the colors.
If someone has good examples or good ideas, please give some help. Thanks in advance.


[This message has been edited by jiaonu wang (edited May 02, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!