Article View: borland.public.jbuilder.java.swing
Article #1077Re: JBuilder Menu Designer question
From: Greg Hamer
Date: Mon, 22 Mar 2004 17:53
Date: Mon, 22 Mar 2004 17:53
32 lines
2293 bytes
2293 bytes
You can use the 'Bean Chooser' button that is in the lower left corner of the palette, under the selection arrow, to specify that you wish to drop a TMenuItem. You could then drop them onto PopupMenu items or Menu items in the component tree to add them to menus. But the extra dummy items that show up in the menu designer will always transform JMenuItems, so you would need to get into the habit of dropping them instead of just labeling them one after the other. "Tony" <aoganesi@yahoo.com> wrote in message news:405bff8d$1@newsgroups.borland.com... > Dear all, > > I am trying to use JBuilder Menu designer to help > me with menu building in our application. However, > we use special (our own) bean called TMenuItem, which, > naturally, extends JMenuItem and adds special > functionality for binding to defined Actions. > > So far I have been using JBuilder to create a dummy > menu with designer (it creates a menu with JMenuItems) > and then was doing a global substitution of "JMenuItem" > to "TMenuItem" After that, designer still works > (and even shows the right menu lables). > > My question is whether it is possible to tell JBuilder > designer to use my class (TMenuItem) instead of default > class (JMenuItem). > > I would be grateful for any ideas, > Tony. > >
Technical Details
Message-ID:
<405f27a7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<405bff8d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,77abad80ae33255d X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-22 10:07:18 PST From: "Greg Hamer" <ghamer@dslextreme.com> Newsgroups: borland.public.jbuilder.java.swing References: <405bff8d$1@newsgroups.borland.com> Subject: Re: JBuilder Menu Designer question Date: Mon, 22 Mar 2004 09:53:09 -0800 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.52.242.126 Message-ID: <405f27a7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079977895 24.52.242.126 (22 Mar 2004 09:51:35 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail