Hi Jonathan,
yes, in Swing applications JComponent should be used, and not
Canvas. Canvas is a heavyweight component and using it may interfere
with Swing's repainting.
Thanks,
Dmitri
On Fri, May 26, 2006 at 12:28:57AM -0400, Jonathan Mast wrote:
[I sent this the first day I
Perhaps you could create a BufferedImage.TYPE_BYTE_BINARY with a 2 color
IndexColorModel
and have all the printing go into there. Then all rendering will have to
be one of those two colours
which I assume you would select as BW.
The drawbacks to this are that to get printer resolution graphics
Hi Jim,
By 'sub-pixel' are you referring to the sub-pixels in LCD displays, for example?
Does this then not apply to CRT monitors?
Thanks,
D.
[Message sent by forum member 'dodger' (dodger)]
http://forums.java.net/jive/thread.jspa?messageID=116601
I'm writing an application that uses JOGL, and so necessarily contains a
heavyweight component that extends Canvas. However, most of the
application uses Swing, including a component of my own design that
extends JComponent and has a complex repaint routine. While my
component works properly,