Article View: borland.public.jbuilder.java.swing
Article #9903How to add a 2D-GrafikComponent to a JPanel ???
From: Mirko K�mpf
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
13 lines
826 bytes
826 bytes
I tryed to create a 2D-BarChart - in its own JFrame it works fine. But I need the Chart in a JPanel to add it to different frames. My ChartObjectClass extends the Component.class. To add the Chart to the JFrame I used: frame.getContntPane().add(ChartObject); How can I show this ChartObject in a JPanel ? Thank you for your help Mirko Kaempf
Technical Details
Message-ID:
<84r22i$d9m2@bornews.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,ee83c67b4a666407,start X-Google-Attributes: gid111d45,public From: "Mirko K�mpf" <mkaempf@elp.rr.com> Subject: How to add a 2D-GrafikComponent to a JPanel ??? Date: 2000/01/03 Message-ID: <84r22i$d9m2@bornews.borland.com> X-Deja-AN: 567884142 Organization: Inprise/Borland International X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Newsgroups: borland.public.jbuilder.java.swing