I have written a custom component that inherits from java.awt.Canvas,
which I use to render vector graphic files on. This component, called
TWFCanvas, is currently part of an AWT-based applet.
        Since I have to use Java 2D anyway, I am forced to work with JDK 1.2,
and I figured it made sense to use Swing instead of AWT. I could port
the rest of the applet to start using swing for its simple interface,
but still I would have to use the canvas. As I was unable to find any
kind of 'JCanvas' class to work with, I guess I'll have to stick to
java.awt.Canvas for all the Java 2D work.
        Will this mixing of swing and AWT components create any kind of
problems for me?

--
---------------------------------------------------------------
  Alexandre Sieira Vilar - http://www.tecgraf.puc-rio.br/~asv
 Computer Engineering Student at PUC-Rio - GNU and Linux rock!
     3rd kyu Aikikkai Aikidoka (as of November 28, 1998)
---------------------------------------------------------------
"The prestige of government has undoubtedly been lowered
considerably by the Prohibition law.  For nothing is more
destructive of respect for the government and the law of the
land than passing laws which cannot be enforced. It is an
open secret that the dangerous increase of crime in this
country is closely connected with this."
-- Albert Einstein, "My First Impression of the U.S.A.", 1921

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to