Article View: borland.public.jbuilder.java.swing
Article #11108Re: Drop down menu in JToolBar like IE back and forward button.... (urgent)
From: Matt Krevs
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
39 lines
1733 bytes
1733 bytes
You can add any component to a JToolbar. Maybe create a component that has a 'toolbar' button and a down arrow button. Selecting the down arrow would cause a JPopupMenu to display. Also, have a look at the following link. It gives and excellent example of extending the default behaviour of toolbars and menus http://manning.spindoczine.com/sbe/files/uts2/Chapter12html/Chapter12.htm The following link may also help http://www.codeguru.com/java/articles/318.shtml Khurram Shakir <kshakir@prosys.com.pk> wrote in message news:7m00lh$fej8@forums.borland.com... > hello, > I want to associate toolbar button with JMenu(drop down menu) like Internet > Explorer back and forward button. > Sun standered guidelines tells that it is possible and 'easy task' but I am > not able to associate toolbar button or toolbar with dropdown menu. > please told me if you know how I do that , it is urgent. > thanks in advance. > regards, > > -- > Khurram Shakir > Java Developer > Progressive Systems(Pvt.) Limited > kshakir@prosys.com.pk > ICQ # : 17135971 > > > > > >
Technical Details
Message-ID:
<7m0lj5$frv17@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7m00lh$fej8@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b5a63bf5b3e3703d X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: Drop down menu in JToolBar like IE back and forward button.... (urgent) Date: 1999/07/08 Message-ID: <7m0lj5$frv17@forums.borland.com> X-Deja-AN: 498333051 References: <7m00lh$fej8@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "Matt Krevs" <mattkrevs@flex.com.au> Newsgroups: borland.public.jbuilder.java.swing