Article View: borland.public.jbuilder.java.language
Article #16668Re: adding components with a function
From: Daniel R. J. Lind
Date: Thu, 21 Jan 1999 00:00
Date: Thu, 21 Jan 1999 00:00
23 lines
1529 bytes
1529 bytes
>I don't have any idea if this compiles (my compiler is hours away) but this >is the general idea. If you can access your tabs (panels) by index you are >better off. Otherwise you have to declare seperate variables for each one. > >Hope this helps, Did it ever! You have saved me hours of mind-numbing UI programming. My UI was getting so large that it was over forty pages of code. I couldn't figure out how to pass objects so that the created UI elements were accessible after their creation. I was pre-building every page (some 600 cells with all their labels, variables and parameters) and knew there must be a better way, but I was running out of time to find it. Your code did compile (once I changed the i variable to the x). This was exactly the type of response that I was after - code snippet and all! May your hardware never go soft, your software never hard and your floppy disks remain a misnomer. (Okay, so it's late). Cheers, Daniel
Technical Details
Message-ID:
<784kee$djm12@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<780uhe$aq55@forums.borland.com> <7832ob$cfa9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,de56a2e57de1717 X-Google-Attributes: gidf74b3,public From: "Daniel R. J. Lind" <daniel@synopsys.co.nz> Subject: Re: adding components with a function Date: 1999/01/21 Message-ID: <784kee$djm12@forums.borland.com> X-Deja-AN: 434797596 References: <780uhe$aq55@forums.borland.com> <7832ob$cfa9@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language