Article View: borland.public.jbuilder.java.language
Article #16553Re: OH NO! I Cant see extended applet in designer!
From: Greg Hamer
Date: Thu, 11 Feb 1999 00:00
Date: Thu, 11 Feb 1999 00:00
27 lines
1797 bytes
1797 bytes
I would guess that the form Applet class that you are extending is not a java bean. i.e it needs to be a public class with a public constructor that takes no parameters. The desginer wants to instantiate the superclass, and then apply the code found in the jbInit method to it. WRBacon wrote: > Hi. > I am using JBuilder2 to create forms to be used on the Web. There will be > many forms, so inorder to simplify my task, I have created a simple "form > applet" that includes all of the buttons and text boxes that will be common > to all forms in my program. Then I am building seperate applets that > inherit the Form Applet class, and then I add additional components to the > new applets. > > The problem is that when I create a new applet that inherits the Form > Applet class, I can not see the Form Applet in the designer window of the > new applet, but I can see it when I compile and run it. This makes it > difficult to add componts to the new applet without laying them on top of > the ones on the Form Applet. > > I have included my 'extends' key word. So what am I doing wrong?! Am I > supposed to include show(), display(), or paint() methods? > > Thanks!!! > redding > reddingbacon@hotmail.com
Technical Details
Message-ID:
<36C31CFE.6A07D131@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<78l943$l28@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,670ff9725fe6cd08 X-Google-Attributes: gidf74b3,public From: Greg Hamer <ghamer@inprise.com> Subject: Re: OH NO! I Cant see extended applet in designer! Date: 1999/02/11 Message-ID: <36C31CFE.6A07D131@inprise.com> X-Deja-AN: 443297572 Content-Transfer-Encoding: 7bit References: <78l943$l28@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language