• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can swing works on monochrome monitor?  RSS feed

 
nitinthe man sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai everybody,
is their any way by which i can run swing application on monochrome computer because swing require atleast 256 colors?
thanks.
 
Maarten Vergouwen
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
256 colors need not necessarily be displayed as actual colors, but can equally well be displayed as shades of gray for instance.
The graphics adapter builds up the data needed (ie the color of each pixel) and sends it to the monitor, and the monitor then turns that data into the actual image on screen.
A monochrome VGA monitor with VGA graphics adapter will work fine.
A monochrome CGA monitor with CGA graphics adapter will not.
A CGA monitor with a VGA graphics adapter will allow the program to function correctly, but will not display anything.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!