Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Applets and monochrome displays

Posted on 1998-05-07
6
Medium Priority
?
163 Views
Last Modified: 2010-04-16
I've tested an applet together with a monochrome display.
No Images were displayed by the browser.
I don't wanted to test the applet on a monochrome display,
but I wanted to test it under Solaris.
I don't think that it is the different OS?!
0
Comment
Question by:felgen
[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
6 Comments
 
LVL 6

Expert Comment

by:gadio
ID: 1220705
 felgen, it would be easier to answer if you can clarify your question. Is your question about the behavior of java under monochrome display, or is it about the different behavior between some operating system to Solaris?
0
 

Author Comment

by:felgen
ID: 1220706
I've tested the applet under Windows 95/NT with color displays
and everything works fine. Then I've tested it under Solaris, but this machine only has a monochrome display. The Applet is running, but images aren't displayed. I don't think the reason for that is different behavior between windows and Solaris.
So am I right that the reason for none displayed images
is the use of a monochrome display and if the answer is yes, is there a way to avoid this. If I am wrong my question is how can
I avoid that images aren't displayed under Solaris.
0
 

Author Comment

by:felgen
ID: 1220707
Now IE 4.0 is available under Unix I've tested with IE 4.0.
I could see much more then using the Navigator, but not every
Image was displayed fine. So I think, it's a problem of the
browser that displaying images from within java.
0
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
LVL 2

Expert Comment

by:aziz061097
ID: 1220708
It could be even that the Navigator you have does not have JDK1.1 support.
0
 

Author Comment

by:felgen
ID: 1220709
I'm using version 4.04 of the navigator for solaris,
this version supports jdk1.1
0
 
LVL 4

Accepted Solution

by:
evijay earned 100 total points
ID: 1220710
Be sure that the depth of the monochrome display is 256 or more colors (i.e., 8 or more bit planes)
use xdpyinfo or xwininfo commands for this. If it is less you cant display the image.
This is the limitation of java language .

0

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

660 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