🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
4 messages
4 total messages Started by Matthew Sweet Sat, 29 Nov 2003 22:05
JPopMenu
#1465
Author: Matthew Sweet
Date: Sat, 29 Nov 2003 22:05
3 lines
1102 bytes
In regards to just JPopMenu. How to you process whatever you've selected
from a pop-up menu? I've implemented a pop-up menu but just haven't figured
out how to process the item selected.
Re: JPopMenu
#1467
Author: John McGrath [TeamB]
Date: Sun, 30 Nov 2003 01:35
15 lines
1392 bytes
On 11/29/2003 at 5:05:31 PM, Matthew Sweet wrote:

> I've implemented a pop-up menu but just haven't figured out
> how to process the item selected.

That depends on the item selected and on what processing you want to do.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: JPopMenu
#1480
Author: Mark Patton
Date: Sat, 06 Dec 2003 18:43
18 lines
1432 bytes
Have you added event listeners to your menu items?  like

myPopopMenuItem.addActionListener(new ActionListener()
{
    public void actionPerformed(ActionEvent e)
    {
        doSomethingWithMenuClick();
    }
});

"Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> wrote in message
news:3fc91888$1@newsgroups.borland.com...
> In regards to just JPopMenu. How to you process whatever you've selected
> from a pop-up menu? I've implemented a pop-up menu but just haven't
figured
> out how to process the item selected.
>
>
Re: JPopMenu
#1496
Author: Matthew Sweet
Date: Mon, 15 Dec 2003 21:07
25 lines
1752 bytes
I've moved away from the JPopUpMenu and went to creating a dialog box since
it's much more customizeable.

"Mark Patton" <mp112849@hotmail.com> wrote in message
news:3fd22369$1@newsgroups.borland.com...
> Have you added event listeners to your menu items?  like
>
> myPopopMenuItem.addActionListener(new ActionListener()
> {
>     public void actionPerformed(ActionEvent e)
>     {
>         doSomethingWithMenuClick();
>     }
> });
>
> "Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> wrote in message
> news:3fc91888$1@newsgroups.borland.com...
> > In regards to just JPopMenu. How to you process whatever you've selected
> > from a pop-up menu? I've implemented a pop-up menu but just haven't
> figured
> > out how to process the item selected.
> >
> >
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads