Article View: borland.public.jbuilder.java.swing
Article #13188Drawing in an InternalFrame
From: Tim Heier
Date: Fri, 28 Aug 1998 00:00
Date: Fri, 28 Aug 1998 00:00
9 lines
840 bytes
840 bytes
I am trying to write a simple application that uses Swing components. I have a JInternalFrame that I would like to "draw" in using g.drawLine(), g.drawOval() etc. In the Pre-Swing days I would draw on a Canvas or even a Panel. How do I do this in the Swing world? I don't see a JCanvas type, should I just add a JPanel to the contentPane of the InternalFrame and draw there? Tim.
Technical Details
Message-ID:
<6s6h3k$rmp3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5f83d43939353896,start X-Google-Attributes: gid111d45,public From: "Tim Heier" <tim@uagworld.com> Subject: Drawing in an InternalFrame Date: 1998/08/28 Message-ID: <6s6h3k$rmp3@forums.borland.com> X-Deja-AN: 385648771 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.swing