Adding popup menus on jmenuitem

hello
I would like to add a popup menu when right-click on a jmenuitem , given that the left click will launch the jmenuitem action.
I've done this by invoking:
jMenuItem.setArmed(false);
when a right click is detected, so i bring up my popup and the action is not launched.
But the jMenuItem hides himself and the popup stay in the middle of nothing (a bit ugly)
QUESTION:
how to tell the jMenuItem and the corresponding jMenu to stay visible while and after I use the popup ? Is it possible ?
Thank you for any help,
Xavier

Repost...

Similar Messages

  • Popup Menus in Forms 10g

    I have a tool bar that I added within a Form that has few popup menus...
    When I Run form on Web layout I noticed I have to right click in order to see the popup menu... Before in client server it would only require left mouse click and the popup menu would display.. is there anyway of setting it so it would display if I hit the left button vs the right button. Reason being users who are used to Non Web based will not know to hit the right mouse button vs. Hit the left mouse button..
    Anyway to fix this

    I would like to respectfully suggest that windows standards are such that a left-click will select an item, and a right-click will display a pop-up context menu if applicable. I believe the action you describe is how it should be. I mean, even on the page that I use to enter this very note, if I click a link or a button, it will perform the action, and if I right-click in this text box I get editing command shortcuts, right-click on a link I get options for how it is to open, etc.
    I don't believe a left click should open a context menu. If your users use other Windows standard programs, this should not be an issue, as this is how they work already.
    Gary

  • Popup menus not working on pages with RSS feed javascript

    My popup menus were working OK until I added an RSS feed to
    the page that
    uses javascript to parse the feed. Has anyone else
    experienced this? Or
    found a way to parse the RSS feed and still have the popup
    menus work?
    Thanks

    On Tue, 1 Aug 2006 17:42:28 -0500, "D Woods"
    <[email protected]>
    wrote:
    >My popup menus were working OK until I added an RSS feed
    to the page that
    >uses javascript to parse the feed. Has anyone else
    experienced this? Or
    >found a way to parse the RSS feed and still have the
    popup menus work?
    Perhaps, if you post a link to the page that doesn't work,
    someone can
    show you how to fix it.
    Gary

  • Problem in showing dynamically created popup menus in MacOs.

    I have problem with dynamically popup menus. When the menu item is selected, below method is calling:
    public JPopupMenu getPopupMenu(){
    JPopupMenu r = super.getPopupMenu(); // My class extends JMenu.
    r.removeAll();
    String[] remoteEngines = SimulationManager.getRemoteEngines();
    try {
    for (int i = 0; i < remoteEngines.length; i++) {
    JMenuItem item = new JMenuItem(remoteEngines);
    item.addActionListener(this);
    r.add(item);
    } catch (Exception ex) {}
    return r;
    On windows and linux I get menu populated by servers' names, but under MacOS popup menus don�t appear.
    I have MacOs 10.4 and Java 1.5.0.5

    The problems with the portlet provider. Edit it and do the following:
    Uncheck "Web provider in same cookie domain as the portal" and also for the User/Session Information, choose either "Always" or "Once per user session" NOT "never".
    Its bug no 4118067 in metalink, the above is a workaround!!

  • Can I turn off the onscreen popup MENUs in safari 6.0.5? (mountain lion

    Not popup windows or popup ads.  I'm referring to the system popup menus that appear mid-screen when using Safari.  The menus appear to be contextual, and will have choices, such as "go back."  I have to tap somewhere on the screen to get it to go away.  Frankly, I'm not even sure what tackpad gesture I am doing to cause them to pop up.  I only want to use the regular tool bar menu and I find the popup menus disruptive and annoying.  I have not been able to find a preference that relates to them.  Can I get rid of these things?  Thanks for your help...
    Jen

    I tried that, but there are no settings in there regarding the pop up onscreen menus.  It seems to happen in other apps, though less frequently than Safari.  Maybe it is an OS thing?  However, I could not find any applicable preference...

  • ANN Half-hour webinars (free): Hypertext in FM Generated Files (Apr 4)+Popup menus in PDFs (Apr 11)

    (free; no fluff, no hype, no nonsense; starting 9am PT)
    Hypertext in FrameMaker Generated Files (TOC/IX) -- Thursday, April 4
    For more info or to register: https://www3.gotomeeting.com/register/474393614
    Popup menus in PDFs (with FrameMaker-to-Acrobat TimeSavers + Navigation Asst)
    -- Thursday, April 11
    For more info or to register: https://www3.gotomeeting.com/register/114620830
    Shlomo Perets
    MicroType, http://microtype.com
    FrameMaker/Acrobat/Captivate training & consulting * FrameMaker-to-Acrobat TimeSavers/Assistants

    Well, I made it to the Apple store and they, contrary to the guys at B&H, confirmed my original suspicion and yours: that the drive was failing.  I bought a replacement drive and am restoring my time machine back up now. 
    I am a bit annoyed that the B&H guys got this one wrong but I have to give them credit for underselling me rather than overselling me; I do appreciate that.
    Also worth mentioning is that the 3TB Seagate drive was less than 2 years old and is supposedly still under warrantee.  I am looking forward to seeing what kind of support I get from them. 
    So big thanks to you, Bob, for your very good suggestions.   The Apple community has come through strong for me and I appreciate it.

  • FRM-92100 at toolbar canvases on calling popup-menus

    Hi all,
    I am migrating our 6i forms to 10g and now there is following problem.
    When I call the popup-menu, attached to a toolbar canvas, I´ll get the frm-92100 failure-message. On other canvas-types and items, there are no problems of calling popup-menus.
    What could cause this problem?
    thank you.

    Thanks for your reply,
    I´ve created a new popup menu and attached it, but it doesn´t work too.
    The error message says:
    Java Exception:
    oracle.ewt.popup.NoPopupOwnerException
    at oracle.ewt.IwAWT.IwMenu.LWPopupMenu._displayPopup(Unknown Source)
    at oracle.ewt.IwAWT.IwMenu.LWPopupMenu.popup(Unknown Source)
    at oracle.ewt.IwAWT.IwMenu.LWPopupMenu.popup(Unknown Source)
    at oracle.forms.handler.FormMenu.show(Unknown Source)
    at oracle.forms.handler.MenuInfo.showPopup(Unknown Source)
    at oracle.forms.handler.MenuInfo.onUpdate(Unknown Source)
    at oracle.forms.handler.MenuInfo.onUpdate(Unknown Source)
    at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    at oracle.ewt.IwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.IwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Thomas

  • JTree questions (1) Re-populating (2) Adding popups

    Hi all,
    I've just started to use a JTree in my application and I've encountered two
    problems. Sorry if these have been covered before - I've been Googling around
    for answers.
    I have a UI panel ...
    http://photos1.blogger.com/blogger/541/411/1600/TreeDemo.gif
    ... where a tree is populated with stock quotes from different
    sources. The user selects the stock and the tree should update to show the
    quotes for that stock. The quotes are read from a DB and I want the user to
    be able to delete from the DB using a pop-up on the leaf nodes.
    Problems
    (1) Re-populating
    The only way I've got this to work at this time is to create a new tree from scratch,
    based on the stock name, then put it into a new scroll panel, remove the old scroll
    panel from the container and add the new one. Not good is it? Nasty, nasty.
    I've read a lot about needing to interact with the tree model - is that right?
    (2) Adding popups
    I want to be able to delete items from the DB by doing a right-click on the leaf
    nodes and selecting "Delete" from the pop-up.
    I find that I can't add a mouse listener to the DefaultMutableTreeNode used to
    hold the leaf item. Should I subclass DefaultMutableTreeNode and implement some
    interface to do this?
    Any insights very much appreaciated.

    I know I'm asnwering my own question here - but I found the answer to teh re-population question while waiting.
    I now use the DynamicTree class that is included in the Sun tutorial here
    http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
    Specifically, here
    http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/index.html#DynamicTreeDemo
    I'd still welcome any suggestions on the pop-up menu question!

  • Popup Menus from Fireworks to Dreamweaver

    I have created popup menus in fireworks and imported the html
    into Dreamweaver. But when I do the table cell resizes to the
    menu's expanded size. How can I get it to only take space of the
    unexpanded button. Where when expanded the dropdown flows OVER the
    underlying page.
    Desparately seeking help-
    Bobbi Jo

    Post a link to the page, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "BobbiJo1" <[email protected]> wrote in
    message
    news:e26n71$c6h$[email protected]..
    >I have created popup menus in fireworks and imported the
    html into
    >Dreamweaver.
    > But when I do the table cell resizes to the menu's
    expanded size. How can
    > I get
    > it to only take space of the unexpanded button. Where
    when expanded the
    > dropdown flows OVER the underlying page.
    >
    > Desparately seeking help-
    > Bobbi Jo
    >

  • Fireworks 8 PopUp menus-

    I create a page with single level popup menus in FW8. Export
    html/slices to DW8
    The menus only show up when I do a mouse over. I can modify
    the code in DW8 to remove the javascript onmouseover= ( ... ), and
    add a onload=(..). All then works as I want it to work. Top menu
    displayed on page load, mouse over/out behavior works as expected.
    The top level menus are acting like I would expect the lower
    level popups to work. Mouse over to display. Mouse out, timer
    delay, they go away.
    I assumed/want the first level menus should display on page
    load. Just the popups (lower menu levels) should popup with
    mouseover. Wrong assumption or something wrong?? I guess I could
    use Buttons instead.
    Insight????

    Check the uberlink and McFly tutorials at PVII
    http://www.projectseven.com/)
    and the Navbar tutorial at Thierry's place (
    http://www.tjkdesign.com)
    Either of these are miles better than any DW/FW pop-up
    menu....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "borisbsp" <[email protected]> wrote in
    message
    news:e5pg36$nfb$[email protected]..
    >I would prefer a workaround to this problem (Since the
    money is spent on
    >the
    > software). However I will entertain other solutions as
    long as they can
    > provide me with the same design out come.
    >
    > The verticle popup menus need to be triggered by gif or
    jpeg images like
    > this:
    >
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.eiptuning.com/eip/images/forum/navigation_01.jpg">Screen
    > Shot
    > Example</a>
    >
    > If you have some solutions that fit this criteria, and
    it doesn't mean
    > that I
    > have to reinvent the wheel, I would be interested.
    >
    > Thanks,
    > Boris
    >

  • Fireworks 8 CSS Popup Menus

    Hi,
    in previous versions of Fireworks I was able to create
    multiple popup menus and insert the menus into various table
    positions across a web page.
    In the latest version of Fireworks (8) I have tried to do the
    same using the CSS popup up menus but when previewing the page one
    or both of the menus fail to work properly. In some cases the popup
    menus appear onmouseover in the wrong place or other times the
    menus simply don't function at all.
    If I create a single CSS popup menu and insert into a page
    there is not a conflict and it is viewable in various browsers.
    Is there an adjustment that I can make to the code or the way
    that I export to Dreamweaver 8 so that multiple popup menus (in
    different tables) can function on the same page?
    Thanks,
    Boris

    Check the uberlink and McFly tutorials at PVII
    http://www.projectseven.com/)
    and the Navbar tutorial at Thierry's place (
    http://www.tjkdesign.com)
    Either of these are miles better than any DW/FW pop-up
    menu....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "borisbsp" <[email protected]> wrote in
    message
    news:e5pg36$nfb$[email protected]..
    >I would prefer a workaround to this problem (Since the
    money is spent on
    >the
    > software). However I will entertain other solutions as
    long as they can
    > provide me with the same design out come.
    >
    > The verticle popup menus need to be triggered by gif or
    jpeg images like
    > this:
    >
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.eiptuning.com/eip/images/forum/navigation_01.jpg">Screen
    > Shot
    > Example</a>
    >
    > If you have some solutions that fit this criteria, and
    it doesn't mean
    > that I
    > have to reinvent the wheel, I would be interested.
    >
    > Thanks,
    > Boris
    >

  • Embedded 3D PDF covers popup menus

    When I embed a 3D PDF into a web page it covers up popup menus (even when the 3D annotation is disabled). This is true for PDFs generated in either Acro8 or Acro9 and for all browsers tested (Firefox, IE, Safari, Opera, Chrome).
    For embedded flash movies, this can be avoided by setting the parameter wmmode="transparent", but this doesn't seem work for 3D PDFs. Is there another way?
    Thanks,
    Beat

  • Popup menus over elements in a JList

    Hi,
    How would I create a Popup menu when I select an element in a single selection only JList?
    Is it possible to have the popup show on any selection event (keyboard, mouse, or even by programatically causing an element to be selected)?
    thanks.

    I kind of got the behavior I want with doing following, but when I try to use this approach in an Applet, I get an ugly Java Applet Window message:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MenuTest extends JFrame implements ActionListener{
    DefaultListModel lm = new DefaultListModel();
    JList list = new JList(lm);
    JScrollPane scroll = new JScrollPane(list);
    JPanel p = new JPanel(new BorderLayout());
    JPopupMenu popup = new JPopupMenu();
    JMenuItem menuItem;
    public MenuTest(){
         list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         lm.addElement("one");
         lm.addElement("two");
         lm.addElement("three");
         lm.addElement("four");
         getContentPane().add(p, BorderLayout.CENTER);
         p.add(scroll, BorderLayout.CENTER);
         menuItem = new JMenuItem("print to stdout");
         menuItem.addActionListener(this);
         popup.add(menuItem);
         list.addMouseListener(new MouseAdapter(){
              public void mouseReleased(MouseEvent e){
              int index = list.locationToIndex(e.getPoint());
              if (index>-1&&!(list.isSelectionEmpty())){
                   popup.show(e.getComponent(), e.getX(), e.getY());
         addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    public void actionPerformed(ActionEvent e){
         System.out.println((String) list.getSelectedValue());
    public static void main(String args[]){
         MenuTest window = new MenuTest();
         window.setTitle("MenuTest");
         window.setSize(200, 300);
         window.setVisible(true);
    It seems the behavior is different than for frames and in my GNOME desktop manager when I run my applet it opens a new window for the PopupMenu.
    If anyone has run into this and has a work around please let me know.
    thanks

  • Popup menus - the second one doesn=?ISO-8859-1?B?uQ==?=t show

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3252601044_1631313
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Anyone know why this would be happening?
    I am using ver 8 and the pop up menu -
    The first link has 3 items in its popup menu, and the second
    link has only
    one. But no matter what I try only the first popup menu shows
    up.
    Any thoughts?
    --B_3252601044_1631313
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Popup menus - the second one doesn&#8217;t
    show</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Trebuchet MS, Verdana, Helvetica,
    Arial"><SPAN STYLE=3D'font-size=
    :12.0px'>Anyone know why this would be
    happening?<BR>
    <BR>
    I am using ver 8 &#8211; and the pop up menu -<BR>
    <BR>
    The first link has 3 items in its popup menu, and the second
    link has only =
    one. But no matter what I try only the first popup menu shows
    up.<BR>
    <BR>
    Any thoughts?<BR>
    </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3252601044_1631313--

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0036_01C74137.36171E80
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Popup menus - the second one doesn't show>Anyone know why
    this would be =
    happening?
    Not without an URL (o:
    - please let us see the code
    --=20
    Jo
    "Wendy Wetherbee" <[email protected]> wrote in message =
    news:C1DEC0D4.2FA9A%[email protected]...
    Anyone know why this would be happening?
    I am using ver 8 - and the pop up menu -
    The first link has 3 items in its popup menu, and the second
    link has =
    only one. But no matter what I try only the first popup menu
    shows up.
    Any thoughts?
    ------=_NextPart_000_0036_01C74137.36171E80
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD><TITLE>Popup menus - the second
    one doesn=92t show</TITLE>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2900.3020"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><SPAN style=3D"FONT-SIZE: 12px"><FONT
    size=3D3>&gt;Anyone know why =
    this would=20
    be happening?</FONT></SPAN></DIV>
    <DIV><SPAN style=3D"FONT-SIZE:
    12px"></SPAN> </DIV>
    <DIV><SPAN style=3D"FONT-SIZE: 12px"><FONT
    size=3D3>Not without an URL=20
    (o:</FONT></SPAN></DIV>
    <DIV><SPAN style=3D"FONT-SIZE: 12px"><FONT
    size=3D3>- please let us =
    see the=20
    code</FONT></SPAN></DIV><SPAN
    style=3D"FONT-SIZE: 12px">
    <DIV><FONT face=3DArial
    size=3D2></FONT><BR><FONT face=3D"Times New =
    Roman" size=3D3>--=20
    <BR>Jo</FONT></DIV>
    <DIV> </DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT></SPAN> </DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Wendy Wetherbee" &lt;<A =
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    wrote=20
    in message <A=20
    =
    href=3D"news:C1DEC0D4.2FA9A%[email protected]">news:C1DEC0D4.2FA9A%[email protected]</A>.=
    ..</DIV><FONT=20
    face=3D"Trebuchet MS, Verdana, Helvetica,
    Arial"><SPAN=20
    style=3D"FONT-SIZE: 12px">Anyone know why this would be =
    happening?<BR><BR>I am=20
    using ver 8 =96 and the pop up menu -<BR><BR>The
    first link has 3 =
    items in its=20
    popup menu, and the second link has only one. But no matter
    what I try =
    only=20
    the first popup menu shows up.<BR><BR>Any=20
    thoughts?<BR></BLOCKQUOTE></SPAN></FONT></BODY></HTML>
    ------=_NextPart_000_0036_01C74137.36171E80--

  • Popup Menus not working - software, not DVD

    Hi.
    On PowerBook G4 1.67, 1GB RAM OS 10.4.11 I use DVD Studio Pro 2.0.5. I use it once every three months to make a set of ads that runs on a theater screen. Occasionally I use it in between for small projects where iDVD just isn't quite enough (or too much, as the case may be).
    Since I last used the software I've installed at least one 'Security Update' and can't remember when I installed the x.x.11 update (before or after last time I launched DSP2).
    Anyway, I have a problem with some of the popup menus in the inspector window, or palette, where settings for objects (menu, track, buttons, etc) are made.
    For example, on launch, new empty project, the popup menu "First Play:" will empty and not actually pop up any options when I click on it. The same thing happens with "End Jump:" and "Target:"
    I've searched through this forum but keep only finding questions and answers about actual DVD menus and no mention of anybody else having this weird bug.
    Does anyone know what might be going on?
    I've deleted the .plist file from my ~/Library folder and reinstalled DSP2 to no avail. Any other suggestions?

    I have the same mysterious problem. I have a Dual PowerPC G4 running Os x 10.4.11.
    Running DVDSP 2.05 I believe everything was fine until I did some online update. Very aggravating.

Maybe you are looking for

  • Reg: Error in RSQL module of database interface

    Dear All, I am getting this error. Error in RSQL module of database interface. While i am giving the excise invoice date(j_1exchdr-exdat) more than 120 days i am getting this error. SELECT VBRK~VBELN VBRK~FKART VBRK~WAERK VBRK~KNUMV VBRK~FKDAT       

  • IDVD - PAL - NTSC - REGIONS; All messed up?

    So I finished a project on iDVD, and the "clients" are from many different countries... The original project was worked as PAL. In the end, in iDVD I changed the setting to NTSC in order to write 3 disks. 1 for a client in Canada, and 2 for the U.S.

  • How to make a listbox selected item highlight color from code the same as if user click on item?

    Hi all, I have a listbox that gets filled with data when my program starts. I save the last selectedItem value so I set it when the program start again. But the color that the selected item has is not the same as if the user click on it (pictures bel

  • Web intalligence string condition checking

    Hi All, I am new to SAP BO. i have a requirement like a column has records like valid, SPACES and NULL. if valid i need to display 1, if SPACES or NULL i need to display '0'. ex: vendor name abcd xyz NULL abxy expected results: vendor name format  va

  • Wiederherstellen der letzten Sitzung/restore the last firefox session

    How can I restore the last session of firefox without having a button or without using "chronicle/restore last session" ? As a error-message I have got any button for restarting my last firefox session after reopening mozilla firefox once a time in t