Article View: borland.public.jbuilder.java.swing
Article #10153RE: The simplest question
From: Eduardo Elgueta
Date: Thu, 11 Nov 1999 00:00
Date: Thu, 11 Nov 1999 00:00
62 lines
2043 bytes
2043 bytes
Now I got it.
First, I had to set up the invoker property to toolBar. Then, make the call
to the show function this way:
solicMenu.show(toolBar, 1, 1);
Thanks.
Ed.
Tad Frysinger <tfrysinger@earthlink.net> escribi� en el mensaje de noticias
382ACBE4.C821859A@earthlink.net...
> I was speaking somewhat in metaphor. You have to use the correct syntax
for
> the .show() method. I think it takes some arguments, and I'm not at a
place
> where I can look it up for you.
>
> Tad
>
> Eduardo Elgueta wrote:
>
> > Tad,
> >
> > Thank you for your answer.
> >
> > I tried what you suggest, but it doens't work. The code I have is this:
> >
> > void toolBar_actionPerformed(ActionEvent e) {
> > solicMenu.show();
> > }
> >
> > BTW, What JBuilder 3 books can you recommend?
> >
> > Thanks again,
> >
> > Ed.
> >
> > Tad Frysinger <tfrysinger@earthlink.net> escribi� en el mensaje de
noticias
> > 38283442.3ED5CA88@earthlink.net...
> > > In the event handler for the toolbar, do: popupMenu.show(). You have
to
> > > independently write handlers for the menu items that get selected.
> > >
> > > Tad Frysinger(TeamB)
> > >
> > > Eduardo Elgueta wrote:
> > >
> > > > Hi All,
> > > >
> > > > How can I show a pop up menu when the users clicks on a toolbar
button.
> > > >
> > > > BTW, I'm using swing components.
> > > >
> > > > Thank you.
> > > >
> > > > Ed.
> > >
>
Technical Details
Message-ID:
<80ejag$3d77@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7vsvq2$a2o9@forums.borland.com> <38283442.3ED5CA88@earthlink.net> <809kl9$mct19@forums.borland.com> <382ACBE4.C821859A@earthlink.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,791adfd1f3c7455 X-Google-Attributes: gid111d45,public From: "Eduardo Elgueta" <e_elgueta_iii@bigfoot.com> Subject: RE: The simplest question Date: 1999/11/11 Message-ID: <80ejag$3d77@forums.borland.com> X-Deja-AN: 547334830 References: <7vsvq2$a2o9@forums.borland.com> <38283442.3ED5CA88@earthlink.net> <809kl9$mct19@forums.borland.com> <382ACBE4.C821859A@earthlink.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: SRD X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing