How to activate JMenu from other frame using accelerator key

Hi.
I'm developing an application for my final year project.
i set up my application to have multiple frame open at the same time (like sunone studio in SDI mode). only one JFrame contains the JMenuBar.
i can activate this menu bar using the accelerator key when the containing JFrame has focus. however, i donot know how to make the Menu activate when the accelerator key is pressed on other frame. press help, thanks in advance.

does any one have some idea.
the solution i found seem not suit my need.
i want to be able to pull down (and get the focus transfered to) the jmenu in menubar of another frame using the menu's mnemonics. using InputMap does not seem to fit since i need to the menmonic of menu is not in the input map.

Similar Messages

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • How to backup files from other user logged in as administrator

    RE: How to backup files from other user logged in as administrator AND/OR how to repair drive with "Invalid catalog PEOF"
    Hello,
    My MacBook Pro computer’s hard drive is not booting.
    I booted with the base operating system and ran Disk utilities and I got the following messages:
        Invalid catalog PEOF
        The volume could not be verified completely.
        This disk needs to be repaired.
        Disk utility can’t repair this disk. Backup as many files as possible, reformat the disk,
        and restore your backed-up files.
    The problem is that I have a couple of USERS set up on this computer, and it won’t let me backup the files of the second user.  The folders are locked and I can’t access them, even though I am logged in as the administrator.
    I made a boot disk on my other computer ( a MacPro Early 2008 ) desktop computer with the DiskWarrior 4.4 updater,
    but it won’t boot on my MacBook Pro.
    How can I backup these user files so that I can copy them back once I fix the drive?
    or better yet,  How can I repair the Invalid catalog PEOF on this drive?
    Thank you in advance for your time! 
    Bill
    THIS IS THE COMPUTER
    ================
    17” MacBook Pro 2.8GHZ 4GB Ram (purchased in 2009).
    Model: A1297
    Running Mac OSX 10.9.5

    Try using Disk Utility/Restore to copy the backup to a new location. Please note that this will reformat the destination partition which will erase all data.
    Do a backup. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

  • How to get resultset from oracle procedure use ejb3

    how to get resultset from oracle procedure use ejb3
    i know oracle procedure should like this
    Create or replace PROCEDURE resultset_test(
    aaa IN NUMBER,
    bbb OUT sys_refcursor) ....
    but what s the ejb3 scripts looks like? please give me an example or link~
    ths

    - there are no EJB3 scripts, only compiled application code
    - the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
    Now you should know what to Google to get your "example script": "java jdbc oracle procedure"

  • How to show rss from other sites on my site?

    how to show rss from other sites on my site?
    i'd like to have a window on my site that shows rss from
    another site
    (their content in a window on my site)
    thanks
    lenny

    What version of DW do you have. The later versions have RSS
    script generators (I believe) for consuming feeds. Otherwise, you
    can use 3rd party sites to generate the code, or you can use a
    server side scripting language to consume the feeds.

  • HT204350 Incorrect link to "OS X: How to migrate data from another Mac using Mountain Lion and earlier"

    Incorrect link to "OS X: How to migrate data from another Mac using Mountain Lion and earlier". Should be http://support.apple.com/kb/HT6025

    I think the OP is saying OS X: How to migrate data from another Mac using Mountain Lion and earlier (which should be a link to HT4889) just links back to OS X: How to migrate data from another Mac using Mavericks (HT5872).
    It does indeed do that, & HT4889 seems to be MIA.

  • How to run report from other database

    hi,
    i have an application running on oracle 10g forms (many forms & reports),i want to run a report from other database using a form,it should be run on this application & same report server. so if it is possible so tell me how can i do this ?
    thxs

    If you have another Oracle database you can use the following command to create a link to it from the one you are currently logged into
    CREATE PUBLIC DATABASE LINK my_db_link
    CONNECT TO other_oracledb_usernane IDENTIFIED BY other_oracledb_password
    USING 'remote_oracledb_name';
    When you issue this command the 'remote_oracledb_name' must exist in your TNSNAMES.ORA file so that the remote database can be 'found'
    If this is still not enough info I would suggest that you talk to someone on your DBA team to help set up the link.
    Mark

  • How to Run scenario from the web using HTTP web page?

    Hi guys
    Please let me know How to Run scenario from the web using HTTP web page?
    Regards
    Janakiram

    Hi Janakiram,
    ODI provides web based UI for running the scenarios using Metadata Navigator (read only of ur ODI components) and Lighweight designer (u can edit the mapping here).
    Please explore how to install metadata navigator in ODI and have a look at ODI Setup document for more information.
    Thanks,
    Guru

  • How to view messages from another iPhone using your apple Id

    How to view messages from another iPhone using your apple Id

    Sign into iMessage using the same ID (in Settings>Messages>Send & Receive).  The other phone should then see your messages too.

  • How can I print from my iPad using AirPrint?

    I have an HP6500 printer connected to an Ethernet port of my wifi router. How can I print from my iPad using AirPrint?

    Your printer may not support Airprint.  Attached is a how to from Apple for Airprint.  If you click on the link for HP supported printers, the HP 6500A is listed, not the HP 6500.
    http://support.apple.com/kb/HT4356

  • HOW TO ACTIVATE SCNNING FROM MY PRINTER

    HOW TO ACTIVATE SCNNING FROM MY PRINTER

    siyaam wrote:
    HOW TO ACTIVATE SCNNING FROM MY PRINTER
    Hi,
    And what is your printer and the OS on your compuyer ? No need to shout.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to upload contacts from other phone to iPhone

    how to upload contacts from other smart phone which are saved on my mac to new iPhone

    SFalconi wrote:
    kaebfly wrote:
    Not sure. Haven't checked but maybe VZW will post another "Getting Ready" guide for the 4s like they did for the 4. You can also check the App store via iTunes to see if the current app works for the iPhone 4s. I personally didn't use backup assistant...I never liked how it worked  with my other devices (always mixed things up so contacts might have multiple listings instead of one and would place the mobile number as a home number and vice versa). iTunes syncing was quick and easy. I was coming from a BlackBerry when I got my iPhone though so I'm not sure if that's an option for the Voyager.
    If you do some searching on the VZW site, or even Google, you can still find those getting ready guides. All the same info would apply, I'd think.
    I know the info for the iPhone 4 is still available...but not sure if everything will be the same. Since iOS 5 will make it where you don't have to connect the iPhone to a computer at all there may be a way to do it without that step (which is necessary with iOS 4 if you want to use iTunes to sync contacts). You might be able to get your contacts on your computer from the Voyager and then sync them to the iPhone through the Cloud. Or...it might just be exactly the same as the current iPhone. That's why I was saying maybe they'll post another guide for the 4s. There might even be an owners manual PDF for the 4s already on the apple site. Not sure but if there is then some info would also be available there.

  • How to assign Tasks to other users using Exchange Web Service.

    How to assign Tasks to other users using Exchange Web Service.
    Any workaround also would help

    Hi Glen,
    I am trying to use ExtendedPropertyType and put in UpdaterItemType as in this code as below. Although it is not updating the Owner
    field.
    I have tried it both by Propertyname and PropertyID. Although new custom property's canbe
    added but to change an existing one like 'Owner' ? Would this be the right method.
    2. And Is ProprertyID a fixed value as 0x811f or does it need to be calculated.
    3. Is 'Owner' the right propertname for assigning a task ?
    Thanks a lot.
    Please see code below for reference.
     PathToExtendedFieldType pathExtended = new PathToExtendedFieldType();
                //pathExtended.DistinguishedPropertySetId = DistinguishedPropertySetType.PublicStrings;
                pathExtended.DistinguishedPropertySetId = DistinguishedPropertySetType.Task;
                pathExtended.DistinguishedPropertySetIdSpecified = true;
                pathExtended.PropertyId = 0x811f;
                pathExtended.PropertyIdSpecified = true;
                //pathExtended.PropertyName = "Owner";
                pathExtended.PropertyType = MapiPropertyTypeType.String;
                ciSetAT.ExtendedProperty = new ExtendedPropertyType[1];
                ciSetAT.ExtendedProperty[0] = new ExtendedPropertyType();
                ciSetAT.ExtendedProperty[0].ExtendedFieldURI = pathExtended;
                ciSetAT.ExtendedProperty[0].Item = "[email protected]";
                SetItemFieldType set1 = new SetItemFieldType();
                set1.Item = pathExtended;
                set1.Item1 = ciSetAT;
                UpdateItemType request = new UpdateItemType();
                request.ItemChanges = new ItemChangeType[1] { new ItemChangeType() };
                request.ItemChanges[0].Item = itemId;
                request.ItemChanges[0].Updates = new ItemChangeDescriptionType[2];
                request.ItemChanges[0].Updates[0] = setstart;
                request.ItemChanges[0].Updates[1] = set1;

  • Using accelerator keys for loading a appliaction made with J2ME

    Hi
    Is there any methods to use accelerator keys to load a application made with J2ME for mobile telephones. The application is not running and i must find a way to load the application using keys codes.
    How can i accomplish this? can i use the application manager and the jad file? i know that i can use PushRegistry for incomming connections to load the application automaticaly. But i need a way to accomplish this by using the key events on a mobile phone when the application is closed.
    Best Regard
    jan Fredrik Fallsen

    Hi
    Is there any methods to use accelerator keys to load a application made with J2ME for mobile telephones. The application is not running and i must find a way to load the application using keys codes.
    How can i accomplish this? can i use the application manager and the jad file? i know that i can use PushRegistry for incomming connections to load the application automaticaly. But i need a way to accomplish this by using the key events on a mobile phone when the application is closed.
    Best Regard
    jan Fredrik Fallsen

  • Frame loading request from other frame

    Hai i have got a problem loading frames from one other frame.
    I have a framepage with in one frame an other frame page.
    From the main frame page i want to load some ordinary pages into the secundary framepage. I tried to do this with the following string:
    eval("parent.parent.secundaryframe.location='url'");
    When i do this i get an error message "parent.parent.secundaryframe is empty or not an object".
    What can be the cause of this.
    I have used the string several times before and it always worked perfectly.
    I hope someone can help me.
    Thanks.

    Hai Omer,
    I really appreciate the effort you put into answering my question. I learned some handy things from it.
    But i ment it a little less complicated.
    Say i have the following pages:
    main_frameset.html:
    ==================
    <html>
    <head>
    </head>
    <body>
    load new pages into secundary frameset
    </body>
    </html>
    left.html:
    ==================
    <html>
    <head>
    </head>
    <body>
    load new pages into secundary frameset
    </body>
    </html>
    secundary_frameset.html:
    ==================
    <html>
    <head>
    </head>
    <frameset rows="246,*" frameborder="YES" border="2" framespacing="2" cols="*" bordercolor="#FF0000">
    <frame name="topFrame" scrolling="NO" noresize src="top_secundary_frame.html" >
    <frame name="bottomFrame" src="bottom_secundary_frame.html">
    </frameset>
    <noframes><body>
    </body></noframes>
    </html>
    top_secundary_frame.html:
    ==================
    <html>
    <head>
    </head>
    <body>
    some page loaded in this frame
    </body>
    </html>
    bottom_secundary_frame.html:
    ==================
    <html>
    <head>
    </head>
    <body>
    some page loaded in this frame
    </body>
    </html>
    new_page1.html:
    ==================
    <html>
    <head>
    </head>
    <body>
    A completly other page
    </body>
    </html>
    new_page2.html:
    ==================
    <html>
    <head>
    </head>
    <body>
    A completly other page
    </body>
    </html>
    Now, when i click on the link in left.html i want:
    new_page1.html to be loaded in the top frame of secundary_frameset.html
    new_page2.html to be loaded in the bottom frame of secundary_frameset.html
    This is what i exactly ment.
    Do you or anybody know how this is done?

Maybe you are looking for

  • Can't open windows .doc in my mac - need help

    hello, I am wondering if there is a program other than buying OFFICE that I can downlaod or use to allow me to open .doc attachments in my mac. I asked the 3rd party to email me .pdf but they cannot convert their documents to .pdf in a timely manner

  • Bug table layout

    Good morning, I am working with a layout system, and had a problem with several tables First, its structure: -> PanelBox or ShowDetailItem --> PanelGroupLayout - vertical ---> PanelCollection - AFStretchWidth ----> ADFTable - AFStretchWidth or withou

  • DM Switch Device Wizard prompts in another language?. German maybe?.

    I recently switched from a Palm Treo 700p to a red Blackberry Curve 8330.  I installed the Desktop Manager using the User Tools CD and updated it to the most current version (4.7) without running into any problems.  However, when I try to use the Swi

  • Multiple Variable Inputs in Query- Bug in Bex??

    Hi, I have Multiple Variables I am using in a Query. After I Input a Value Range to suppose a date field, and then for another variable I use the drilldown box to select an Input for this variable, The First Value of My date field dissappears but the

  • On a list item which runs first workflow or event receiver?

    I have a list where workflow and event receiver is attached event handler fires on item updated and added and workflow fires for updating the item or so. Kindly let me know how the priority goes to each technically how sharepoint handling this intern