Regarding pop up menu on the right click of a row of a table in a frame

hi to all,
i am a naive in applet and swing.
i have some proplem regarding table in a frame.
actually i want to open a pop up menu on the right click of a row of a table in the frame.please send the code regarding this.

Hi,
You're probably better off directing this to the swing forum but a starter for ten is the use of the MouseListener interface and the boolean isRightMouseButton method.
http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html
Regards,
Chris

Similar Messages

  • How to enable Fullfillment set menu in the Right click at the line level for a responsibility?, by default it comes for OM ADMIN.

    How to enable Fullfillment set menu in the Right click at the line level for a responsibility?, by default it comes for OM ADMIN.
    for this responsibility i need to have teh sets enabled. how to do teh same.
    similar to OM ADMIN as shown below:
    Kindly advice on teh steps. i believe its some menu /function inclusion can you pl share teh pointer.
    regards,
    bala

    AFAIK then there is no way to do that system wide. You can only do that via userChrome.css or an extension like the Menu Editor per profile .You can install extensions globally, but the user will have to enable them anyway. That is not required for userChrome.css code.

  • Vertical pop-up menu on the right

    how to make a vertical pop-up menu on the left with submenu on the right?
    Is it possible?
    I am using dreamwever 5

    If you do decide on a SpryMenuBar then you need the style rules as hightlighted in the following to get the submenu items to fly out to the left.
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <style>
    ul.MenuBarVertical {
        float: right;
    ul.MenuBarVertical ul {
        margin: 5% 0 0 -95%;
    ul.MenuBarVertical a.MenuBarItemSubmenu,
    ul.MenuBarVertical a.MenuBarItemSubmenuHover {
        background-position: 5% 50%;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
        <ul>
          <li><a href="#">Item 1.1</a></li>
          <li><a href="#">Item 1.2</a></li>
          <li><a href="#">Item 1.3</a></li>
        </ul>
      </li>
      <li><a href="#">Item 2</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
        <ul>
          <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
            <ul>
              <li><a href="#">Item 3.1.1</a></li>
              <li><a href="#">Item 3.1.2</a></li>
            </ul>
          </li>
          <li><a href="#">Item 3.2</a></li>
          <li><a href="#">Item 3.3</a></li>
        </ul>
      </li>
      <li><a href="#">Item 4</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    Gramps

  • Context Menu on the right click of af:tree node

    Hi Experts,
    I am using drag and drop functionality in af:tree.In that i used one tree for drag source and another one tree for drop target,and it is working as expected.
    Now I want to bring one additional option in the context menu of the target tree node that is ,when i right click on any of the target tree node in addition to the default menu options like "Collapse","Expand" i want to add one more option .For this i added "contextMenu" facet after the "nodeStamp" facet inside the tree.
    *<f:facet name="contextMenu">*
    *<af:popup id="p1">*
    *<af:menu text="Delete" id="m1">*
    *<af:commandMenuItem text="Delete" id="cmi1"*
    *action="#{myWorkflow.deleteWorkflowNode}"/>*
    *</af:menu>*
    *</af:popup>*
    *</f:facet*>
    Now the problem is : before using drag and drop the context menu workes without any problem .But after using drag and drop the context menu is not popped up.
    can anybody help me to resolve this?
    Thanks,
    Priya.

    Hi Frank,
    1. I am using JDeveloper 11.1.1.3 version
    2. Drop target tree is having the context menu.
    3. Yes . In Drop event am calling a backing bean method with return type DnDAction and i return the value as DnDAction.MOVE to reflect the changes in the database table to the target tree.
    Regards,
    Priya.

  • Can you make a menu for the right-click search so that when I highlight text and search, I can choose which search engine to use?

    If you Highlight text you can right-click on it to pull up a short menu. One option is "Search x search engine for 'highlighted text'" Previously, the search engine selected would be whichever search engine was selected on the search bar, so Google or Amazon.com, etc. Because you can no longer change that selection before you search, the search engine is set to your default. Was an annoyance before, but now it's just a hindrance.

    Strongly recommend Context Search extension which will solve your problem
    - https://addons.mozilla.org/en-US/firefox/addon/context-search/?src=search

  • I have windows XP, firefox 5 and cannot get "send link" to work in the file menu or the right click menu.

    I have gmail, the feature has always worked until this last update

    I have XP and have no problem with send link.
    The problem could be with your OS or your e-mail client, not with Firefox. Or possibly you have used a Firefox add-on that has stopped working.
    * see [[Changing the e-mail program used by Firefox]]

  • I have windows 7, firefox 5 and cannot get "send link" to work in the file menu or the right click menu.

    Don't know what you want here.

    I have XP and have no problem with send link.
    The problem could be with your OS or your e-mail client, not with Firefox. Or possibly you have used a Firefox add-on that has stopped working.
    * see [[Changing the e-mail program used by Firefox]]

  • How to add pop up menu on the column name of a jtable

    hi all,
    i am naive to swing .
    i want to know that how can i open a pop up menu on the right click of the column of a jtable build in frame.i mean to say i on th eright click on the header of table which has column names.

    [url http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html#popup]How to Use Popup Menus.

  • Can I change the fill color of an entire row based on what's selected in a pop-up menu in the first cell?

    I have a pop-up menu in the first cell of every row with three choices (and I may add more at a later date).  I want the fill color of the row to change depending on which thing is selected.  Is this hard to do?

    Hi,
    In essence the same as Wayne's answer, but with a slight modification to fit  to duplicate your 'color the whole row' specification. The final result, with Table 2 slid behind Table 1, is shown.
    Table 2 is a single column table with the same number of rows as Table 1. The table is resized to match the full width of Table 1.
    In A2, use the formula =Table 1::A2 to copy the value from that cell in Table 2. Fill the formula down through the rest of the column.
    Select all the cells in Table 2 (except the header row), and apply conditional formatting rules such as those below.
    Note that the Conditional Format rules are set to apply the same colour to text and fill in the cell, so that the text disappears.
    When Table 2 is ready, select it, then go Arrange > Send to Back.
    Before sliding Table 2 behind Table 1, Select Table 1 and use the Table Inspector to set the Cell Background to None (see red arrow in illustration). If This table has a Header column, you need to select the header cells independently and again set the Cell Background to None.
    Now select Table 2 and drag it to a position partially under Table 1. When you see the blue alignment guides on both sides, or at the top and bottom, of Table 1, release the mouse button and use the arrow keys to nudge Table 2 into its final position.
    Regards,
    Barry

  • On the Adobe Flash Player web page,the Right Click Menu that near the taskbar can not be pop up.

    Environment:Win8/64bit Ent JP、IE10 JP、、Adobe Flash Player 11.3.372.94
      (when the language is English it happened too ) 
    Problem:
    On the Adobe Flash Player web page,the Right Click Menu that near the taskbar can not be pop up.
    And On the Flash Player Help home page(http://helpx.adobe.com/en/flash-player.html) has the same problem,
    and menu round the red circle on the below picture is the problem Right Click Menu.
    As this problem,If we program use the Flex,the problem that the Right Click Menu can not be pop up must occur.
    eg:
    IF there is many lines when we use the ListController ,the data nears the taskbar can not be used the Right Click Menu。
    Relation:
    The problem does not happen when the environment is below
    1、IE10(Win7/64bit)
    2、Google Chrome(Win8/64bit Ent JP)
    Question:
    Whether this problem is resolved? If yes,please tell me the solution,thank you!

    Can you try to update Flash Player to a newer version (using Windows Update)?

  • The right click menu pops up after I push the right mouse button, instead of when I release it.

    I am using an extension All-In-One Gestures. It works on my other installation of Firefox 4 - particularly, the right-click menu pops up if I click right mouse button and then release it so I can perform gesture or turn the wheel instead of getting a right click menu.
    But on this installation (basically the same addons and OS), the right-click menu pops up on pushing down the right mouse button so the right-button+wheel gestures do not work, and the menu stays there while I am performing the gesture which is rather annoying.
    So I though maybe there is some obscure configuration option to toggle to make right-click menu pop up after the button release? Or is this entirely the extension's fault? Note that it does work as expected on other installation...

    You have to enable in Firefox
    -> Options -> Content -> Activate JavaScript (yes) -> More
    -> Allow scripts the following actions
    -> Inactivate or replace context menu (yes)
    in order to allow All-in-one-Gesture to block the immediate appearance of the context menu.
    If you forbid Firefox JavaScript and/or the manipulation of the context menu by use of JavaScript, All-in-one-Gesture cannot work properly.

  • HT201403 It would be very helpful for Apple to re-instate the view as icon option for a pdf file in an email on the right click menu? As far as I can see no easy way for a basic user to get this back?

    Would be great for Apple to reinstate the pdf as icon in mail - but using the right click menu. It seems to have gone - and as a basic user there seems to be no simple solution - I used the rich/plain text swap but it didn't work...
    Apple - we need you to solve!

    http://www.apple.com/feedback/macosx.html
    It's highly doubtful that Apple will change this in Mac OS X 10.7 since that OS version has now been discontinued for quite some time. Whether they will change that in OS X 10.9 or a future version I can't say.
    If this is a serious issue for you, you can look into Attachement Tamer:
    http://lokiware.info/Attachment-Tamer
    It's not free, but it addresses much more than the issue of PDFs appearing as images, not icons, so it might be worth the price.
    Regards.

  • Since upgrading to Mail 7.0 the menu popup from right clicking an element in an email has changed.

    Since upgrading to Mail 7.0 the menu popup from right clicking an element in an email has changed.  There is now only a short three item menu:
    Previously there was a longer menu (like the one when right clicking an item on a Safari page):
    I've looked in Preferences and at all the Mail dropdown items but can't find any way to get the old menu back (or why it changed).  In particular, I miss the "copy image" item which allowed me to copy an item image into a new email for forwarding.  I've got two email accounts, an IMAP and a POP.  The behavior is the same with both.
    Any ideas?
    Thanks,
    Richard

    Your screen shots are not visible to me.  But I think I understand your question.
    Several thoughts come to mind:
    rbhix wrote:
    In particular, I miss the "copy image" item which allowed me to copy an item image into a new email for forwarding.
    You can still, of course, simply forward the entire email message containing the image.
    You could also use the "Save Attachment ..." feature available when you right click and copy and paste from there once the image is saved.
    Less likely, you could also use the "Share" feature available when you right click, though I suspect it may not offer sharing options that you would like.

  • Is there any way of removing the browser buttons from the right click menu?

    Recently when I right-click on a web page, there are browser buttons (forward, backward, refresh, bookmarks) on the right-click menu for some inexplicable reason. I mean, its kind of absurd that anyone would put browser buttons there, considering the real browser buttons literally right there at the top of the window, and I guess that kinda bugs me.
    Anyway, how did I get rid of them? There doesn't seem to be any way to do so in the customize window, and I've been looking for an add-on but don't really know what to search for. Does anyone know?
    Where did those come from anyway? They weren't there a week ago, and I'm pretty sure these things don't normally just pop up out of nowhere. If nobody knows, its really not important. The important thing is getting rid of them. Thanks!

    That was a new feature in Firefox 32, which was released back in September. Use this UserStyle to get rid of those buttons and restore the text menu items.
    https://userstyles.org/styles/104945/fx-32-context-menu-full-text
    ''You'll need the Stylish extension to be able to install UserStyles.''
    https://addons.mozilla.org/en-US/firefox/addon/stylish/

  • Is there a way to open the right click menu on the left side of your pointer?

    Whenever I try to right-click an object that's located on the right side of the screen, the pointer always automatically click whatever entry in the right-click menu which just happens to be under the pointer the moment the menu is opened. I noticed that the reason this happens is because the right click menu always forces itself to open on the right side of the pointer, and when there isn't enough space, the right-click menu will open underneath the pointer. Since this is horribly inconvenient, is there a way to open the right-click menu on the left side of your pointer?

    Are you saying you have an icon on the far right side and when you rt click on it, your pointer ends up opening wherever it lands? That is a two step process, or normally should be at least a two step process. Do you have a Mouse in your Control Panel? You should check, because there may be some properties with which you can play. For instance, I can switch primary and secondary functions on my mouse buttons by checking a box.
    When I rt click on right side, the menu opens on the left.
    When I rt click on left side, the menu opens on the right.
    In order for me to take an action, I then have to move to an area in that menu and click.
    I hope I understood your question correctly.

Maybe you are looking for

  • Finder only shows one application at a time...

    Hi all, Hopefully someone can shed light on my dilemma. After a system crash today I'm having problems in the Finder. I can only have one application visible on screen at a time. When I click the Desktop the Finder and any windows there come forward

  • Error while creating UI component.

    Hi all, In Mobile perspective I am able to create service component but when I create Mobile ui component I am getting the below error. Software Component does not support selected Development Component Type. Required DCs are located in an SC that is

  • Time Capsule with External HD

    Can anyone tell me what happens when you connect an external HD to a Time Capsule? Does the TC recognise the new drive and treat it as more capacity and therefor continue to do backups spilling over onto the new drive? Or does it just see it as anoth

  • Help with hyperlink to an email in iWeb

    While using iWeb and clicking on my link to send me an email I receive the error: "Error Opening Link mailto:(the email it's supposed to send to).  I have "enable as a hyperlink" and "make hyperlinks active" boxes checked.  Help!

  • DVD Studio pro vs iDVD: DVD Quality?

    Do the DVDs made by DVD studio Pro look better than those from iDVD? I have very good looking HD videos, made in iMovie: which look quite good as QT movies, but quality deteriorates a fair amount when iDVD makes it into a DVD. looking for better DVD