🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1203

Custom GUI in designer

#1203
From: Eugene Lukin
Date: Wed, 11 Feb 2004 14:48
26 lines
1625 bytes
Hello, All!

I'm using a kind of custom container ( a subclass of JFrame ) which uses
its own method of adding child components.

Swing:
    frame.getContentPane().add(childComp);

My:
    frame.addChild(childComp); // contains Swing adding plus some
                                                // spcific (very important!)
actions.

Is it possible to tune JBuilderX that it will either:
1) Recognize this custom code and build correct component tree in designer.
2) Generate custom component adding as a result of visual GUI design?

I know how eliminate getContentPane call but what chould I do with add() ?

Obviously it's possible to change my container interface to fit JBuilder
style
but this is not acceptable to me.

Thanks in advance.

Eugene
Technical Details
Message-ID: <402a40a3$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,cfba54eb4587e496,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-02-11 07:10:41 PST
From: "Eugene Lukin" <looking@tepkom.ru>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Custom GUI in designer
Date: Wed, 11 Feb 2004 17:48:04 +0300
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 195.19.226.54
Message-ID: <402a40a3$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076510883 195.19.226.54 (11 Feb 2004 06:48:03 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail