Customized menu item

For work I'm making a JTable bean that has Sort/Search/Filter functionality. I currently have achieved all three. Right clicking in a column brings up a popup menu where you can choose "Sort Ascending", "Sort Descending", "Search...", "Filter...". Search and filter currently bring up a separate window where you can type in a string and choose other advanced options.
What I would like to do is in addition to the "Search..." and "Filter..." options on the JPopupMenu
I want a MenuItem similar to what you would find in Microsoft Access's Filter option when you right click on the table. The MenuItem looks like a JLabel with text "Filter: " next to a blank JTextField.
When I type in a string this will perform my search/filter using the string I typed.
I have attempted to write my own MenuItem as a JavaBean using IBM's VisualAge For Java 4.0 without any success.
Please Help!
Joshua Doerring

Hello Aruna,
As far as I know you cannot remove the default items for the menu.
Sophie

Similar Messages

  • Is it possible to add a custom menu item to built-in apps like addressbook, safari etc in iPhone

    Is it possible to add a custom menu item to built-in apps like addressbook, safari etc in iPhone

    Apple expects the OS to remain constant for all users - helps to maintain a quality experience. Devs are not allowed to make changes to built-in apps.

  • Custom menu item not appearing in HTML5 Output

    I'm trying to add a custom menu item to the top right of a project, it shows up fine in the flash output of a published SCORM file, but it's non-existent in the HTML5 output.
    Has anyone experienced this issue, or have any suggestions for a solution?
    Thanks in advance for any help you can provide!

    I did it through the Skin Editor in Captivate, it is not an external flash menu...I wouldn't expect it to convert flash to html5.  Through the skin editor you can add extra buttons, in the same place you can move the table of contents button, to the "top right".  The problem is, the custom menu items won't even show the text where the link should be in html5, nothing... only when published to flash.

  • Custom menu items

    i just want to know where to put this code
    CoreMenutItems and CoreMenuItemRelationships resources are used to introduce menu items. Below is a sample code on how to get it done.
    *<@dynamicdata CoreMenuItems@>*
    id, label, linkType, linkData
    MY_SEARCH, My Custom Search, cgi, IdcService=CUSTOM_SEARCH_SERVICE
    *<@end@>*
    *<@dynamicdata CoreMenuItemRelationships@>*
    parentId, id, loadOrder
    MENU_A, MY_SEARCH, 30
    *<@end@>*
    plz

    In your component wizard, add an include resource file (or reuse an existing one) and lauch editor to manually edit the hda file (note: I think it'll work in most resource files, but have tested it in includes). Copy paste the above code in there and you should have a menu item. Good Luck,
    Fabian

  • Add submenu to custom menu item

    Hi All
    Can any one of u give me an idea , how to add sub menu to a context menu item???

    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf66f5a-7fea.html

  • New Menu Item entry in Standard Help Menu

    Hi experts,
    I have added a custom menu item under the standard Help menu of SAP using SE41 (Menu Painter) with pragram name: MENUSYST and status: MEN
    I added the new entry and gave it a function code and activated the function code as well as the interface MENUSYST.
    This worked fine and the entry is visible at the desired location. Now on click of this new entry, I need to open a URL. I had a look at the HELP_START function module but modifying that to call the URL on click of the new menu item, would require an access key.
    Is there any other method available to accomplish the task?
    Regards,
    Reema.

    Hello,
    Basically I need to open a Custom Web Dynpro Application that I have created. Also I need to pass the trannsaction code as a parameter in the URL of the WDABAP Application.
    Pl help me proceed.
    Regards,
    Reema.

  • Labview freeze when accessing a custom menu with data on the clipboard

    This one has got me stumped:  When selecting a custom menu item with data on the clipboard the GUI freezes.  Freezes are longer for more data and longer for older versions of Labview.  I wrote the test code, attached, but the example "Menu Selection Demo.vi" shows the same behavior.
    Running Labview 2011 here are some freeze delays for my laptop (a bit slower machine) with various amounts of text data on the clipboard:
    Clipboard size        Delay
    1.3MB                   2.1 sec
    2.6MB                   4.9 sec
    3.8MB                   17.2 sec
    14MB                    253.3 sec
    The delay appears to be non-linear.  A doubling of the clipboard data size more than doubles the delay and a tripling of the clipboard data size produces a delay of almost 10X!  Things are also much, much worse on my ancient version 8.2.1 (over a 40 second freeze for 1.3MB and it goes up from there).
    Note that the freeze also occurs on programs with a custom menu when exiting.  This would seem to suggest it might have something to do with the timeout, but why timeout should vary with clipboard size and not with the value wired to it makes this feel even more like a bug in the custom menu functionality.
    This seems to be related to known issues in Labview 2011 #39604 49UBP4LE (http://www.ni.com/white-paper/13168/en#39604_by_Da​te) that was first reported in version 8.2.1.  This known issue relates to Labview freezing when large amounts of data are copied from Labview to the clipboard.  No fix has been implemented since this was originally reported in 2007.
    This freeze also occurs when shortcuts to menu items (such as Ctrl + L) are used when large amounts of data are on the clip board.
    Thus far this has been 100% repeatable and I have not been able to find a way around it.  I also haven't found anything else similar on the forums or on the web.  It appears to be a GUI freeze with Labview still running in the background, which is also odd.
    My work-arounds at this point are either to not use the clipboard (bad), programatically clear the clipboard several times each second (worse) or remove all custom menu functionality and replace those functions with onscreen controls.  So, for now, I'm removing custom menu items because my users need the clipboard and I can't have massive delays making my data acquisition code look crashed.
    Any ideas would be helpful.  This one has me scratching my head...
    Attachments:
    Menu_Clipboard_Lv2011.vi ‏17 KB

    Well, doing Microsoft Word, Excel and what else on a computer that is used to run an important production test, is a very bad idea. There is no way that you can guarantee, that one of these applications is not causing some interruption to the currently running time critical task. Word and Excel and just about any other computer application can crash, lock up the computer or eat your breakfast while you are doing seemingly harmless things.
    The issue with the clipboard in LabVIEW is indeed a problem that exists for a long time and I hope they fix it sometime, but the fact remains, that you should NEVER use a computer for other tasks while you run a test or other manufacturing related application on it, when a failure of that application can cost you more than a few pennies.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • New Menu Item

    hi experts
    i have created a custom menu item using following steps
    esign Console > Form Information > add new
    Class Name Organizations.Merge
    Description Move users from one organization to another
    Type menuitem
    Add following to xlWebAdmin.properties, xlWebAdmin_en_US.properties
    Organizations.Merge=mergeOrgs.do?Display
    menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
    menuItem.Organizations.Merge=Merge
    mergeOrgs.button.display=Merge Organizations
    however, when i log in to an account to which that menu item has been assigned, it displayed the Menu with Name as
    menuItem.Organizations.Merge
    where i would like to have just Merge as the name. any idea what to amend??
    best Regards

    I believe you should just require these three lines embedded in the files:
    *1. In xlDefaultAdmin.properties*
    menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
    mergeOrgs.button.display=MergeOrganizations
    Remove the space between Merge & Organizations as I did and mergeOrgs.button.display should be method in getKeyMethod() of your code
    *2. In xlWebAdmin_en_US.properties*
    menuItem.Organizations.Merge=Merge
    Preferably xlWebAdmin.properties and xlWebAdmin_en.properties should be updated as well. But doesn't matter much as usually internet explorer is set to en_US. Just confirm.
    Thanks
    Sunny

  • Automatically debugging when calling a script from a menu item

    Hi All,
    I'm coming accross an issue that I was wondering if anyone can help me with or point me in the correct direction.
    I have two start up scripts.
    One runs in the "session" target engine and setups ups some custom menu items and actions which call some other custom scripts.
    The other runs in my own custom session and is used to initialize and share common constants and functions between my custom scripts.
    This all appears to run as expected and clicking on the new menu item calls the correct script however even without the ExtendedScript Toolkit running as soon as i click on the menu item it will load up the ESTK and break on the first line of the script. If I press F5 to continue processing it will finish and runs fine.
    I am currently using the excellent extendables package (http://extendables.org/) to do some HTTP and simplify UI creation which does not specify a session.
    Does anyone know what is causing the scripts to be automatically debugged or is there a setting that might be set to cause this?
    Is this being caused by "session" calling "customSession" using code that will run in the default "main" session?
    this really is irritating me at the moment so if anyone can help it would be much appreciated.
    This is all done using JavaScript in InDesign CS 5.5
    Thanks in advance

    just a quick update.
    After stripping back and stubbing out some code I have been able to trigger a "session" going to my "customSession" then to a non-session (the default) so this is not causing my issue.
    As I mentioned above i am using the extendables package and this appears to be where my issue is arrising. as soon as i include the package:
    #include "extendables/extendables.jsx"
    i get the strange behaviour of it going into debugging mode on the first line of the script being run by my menuItem eventHandler.
    This is without actually using any of the modules available in the extendables package just including it.
    I will try to post a message on the website for this package but if anybody has any ideas about what might be in there that is causing this I would appreciate any ideas/suggestions/theories.
    Cheers

  • Add custom menu to Adobe Bridge

    Is it possible to add a custom menu item to Adobe Bridge to call the Liquify Interface?
    Currently Photoshop CC 2014 is not able to load the liquify interface through and action or script

    You should be able to do it through an action. I do. Just make sure that you have a raster layer selected.

  • How to create IView custom tray item?

    Hi experts,
    In the Portal Content I added to IView a tray with standard options: Refresh, Open in a new window etc. I would like to add my custom menu item to the tray and to assign my custom action handler for this menu item.
    Please could you help me?
    Thanks.

    Hi Marcel,
      Thanks for reply. I have gone through the link. But my question is:
    Let us say, we have created: validvalues: Group_10
      validvalue Title:validValueTitle10
      Color10: #FF0000.
    How can we use this specific value set for iView tray?
    How do we associate the valueset of iView family to layout? Where do we code this?
    How to assign an iview to family?
    Regards,
    Ganga.
    Edited by: Gangadharayya Hiremath on Apr 27, 2008 10:21 PM

  • Help: Customized menu without Window's menu

    Hi,
    I've learnt how to hide the Window's menu. Now, if I have made a customized menu and same time to hide the Window's menu, how do I make it? Namely, I want the user only see the customized menu items without seeing the default Window's menu.
    Jimmy

    Okay,
    open the Forms Builder
    open Online help
    goto tab page Index and type replace - the help-system finds the built-in replace_menu
    I did this with forms 10, but this procedure is very old, your forms knows it.
    There are several parameters - I didn't try them all. I mostly use it in the following manner:
    REPLACE_MENU(menu_module_name VARCHAR2);
    An empty ('') module_name means: No menu at all.
    Wolfram

  • Interactive Report - Add a 'custom' Action Menu Item

    Hi,
    I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
    I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
    I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
    I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
    Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
    Many thanks in advance Peter..
    Edited by: Pete on Jun 30, 2011 4:16 PM
    Edited by: Pete on Jun 30, 2011 4:24 PM
    Edited by: Pete on Jun 30, 2011 4:31 PM

    Hi,
    For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
    Then the extra form will show up in the Ribbon.
    Refer to the following link:
    http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • How to enable File- Export  menu item in custom Form

    I have created a custom form.The File->Export menu item is disable by default.how can i enable this menu item? I have tried
    APP_SPECIAL.ENABLE('FILE.EXPORT',PROPERTY_ON) at block level (when-new-block-instance ) and form level trigger(when-new-form-instance) but not able to enable the same.
    plz suggest way to get this functionality in custom form.

    Hi,
    check below documents can help
    Unable To Export From Files => Export menu option in Applications 11i [ID 275224.1]
    Unable To File > Export Data From A Form [ID 552268.1]
    Unable to Open or Save Export to a File [ID 218209.1]
    Export Menu Item Under File Menu Is Not Bringing Up Dialogue Box Or Openning Up Document [ID 263348.1]
    Regards

  • Customer Open Item clearing Line Layout

    Hi
    the user uses F-32 for customer open item clearing and the following are the fields are available in the line layout.
    Assignment, reference, Doc no, doc type,posting period, doc date, posting date,gross amt,  cash discount, cash Discount %.
    Along with above fields, our business user wants to view the "document header text"  in the line layout.
    How to bring the "Document Header text " in the clearing line layout.
    Pl advise,
    Venkat

    Hi,
    you follow these steps to display "Document Header text " in F-32 :
    <b>1-</b> go to : SPRO>Financial Accounting>AR & AP>Business transactions>Openm item clearing>Make settings for open item processing>Choose selection fields.
    2- select "D" as "account type"
    3- click on "insert after"
    4- enter SGTXT in the "field name"
    5- you will show "SGTXT" and "Text" in the list of fields, click on <b>save</b>
    6- then go to F-32 and go to Menu>settings>change line layout
    7- then go to Menu>Edit>Choose
    8- then click on "insert after" above
    9- in the list you will find "text" as field, so choose it
    10- Save that (check customer or/and vendor)
    11- then click Save and return to the table of F-32, you will find Text in the displaying fields
    hope this helps
    assign points if useful
    let me know
    regards

Maybe you are looking for

  • Adobe Acrobat X Standard (Windows,English)

    I purchased Acrobat X yesterday for download from the site.  The application downloaded however it will not install.  I receive an error message saying that I do not have enough space for the installation.  This should absolutely not be true.  I did

  • How to write the below query with parameter and is null

    Hi, I need to retrive the data if the parameter is passed on the field, else retrive all records whose field is null Example CREATE TABLE DEPT        (DEPTNO NUMBER(2),         DNAME VARCHAR2(14),         LOC VARCHAR2(13) ); INSERT INTO DEPT VALUES (

  • Stock to be moved to Available stock

    Hi Experts, New to WM.... Please help. During GR process user has done wrong postings and due to that stock lies as below 982 post Change Area          stock for Put Away (0 pcs)             Pick Qty (50 pcs) Bin 01-06                               s

  • In 3.6, any way to open new Tabs at the right end of the Tab Bar instead of the left end?

    I've just updated Firefox to 3.6.22 from 3.5.19, and noticed a minor behavioral change. I often open a list of links in a single webpage into tabs. In 3.5, each new tab opened was positioned on the tab bar at the right of the last tab opened - like t

  • Forcing a new row to validate

    I have the following problem: I create a new row using an invokeAction. The row has several attributes set to default values by overriding the create() method in the EntityImpl. When I view the JSF if I click my commit button without entering any att