Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

colorModel

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic