Regarding dispose of help screens on Escape.

Hi
I am using javax.help API to build help screens for my application.
Everything is working fine now I have a requirement to dispose the help window on escape key.
As soon as the help icon is clicked I am delegating the ActionEvent to CSH.DisplayHelpFromSource.
Now I need the help window in my hand to add keylistener and dispose it on escape.
Can anyone pleae help me out.
Thanks In Advance
Sharmila Tankala

//  Handle escape key to close the dialog
KeyStroke escapeKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false);
Action escapeAction = new AbstractAction()
     public void actionPerformed(ActionEvent e)
           setVisible( false );
getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(escapeKeyStroke, "ESCAPE");
getRootPane().getActionMap().put("ESCAPE", escapeAction);

Similar Messages

  • Regarding closure of Help Screens on Escape Key.

    Hi
    I am using javax.help API to build help screens for my application.
    Everything is working fine now I have a requirement to dispose the help window on escape key.
    As soon as the help icon is clicked I am delegating the ActionEvent to CSH.DisplayHelpFromSource.
    Now I need the help window in my hand to add keylistener and dispose it on escape.
    Can anyone pleae help me out.
    Thanks In Advance
    Sharmila Tankala

    //  Handle escape key to close the dialog
    KeyStroke escapeKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false);
    Action escapeAction = new AbstractAction()
         public void actionPerformed(ActionEvent e)
               setVisible( false );
    getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(escapeKeyStroke, "ESCAPE");
    getRootPane().getActionMap().put("ESCAPE", escapeAction);

  • Regarding creation Of Help View

    Hi , Can Any body Tell me what is the step by Step Procedure how to create the Help View. Plz it's urgent .
    Thanks&Regards .
    Nihar.

    Help View ( SE54)
    Help views are used to output additional information when the online help system is called.
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
    Go thru this link plzz
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
    Difference between "Help View" and "Search Help"
    Reward points for useful Answers

  • How to Restrict Master data in value help screen for a user???URGENT

    Hello Gurus,
    I have a requirement.When a authorized user logins to view the report, he should see only list of customers assigned to that user in the value help screen, instead of displaying whole master data.and the data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
    How can I restrict in the value help screen?
    Any help appreciated with points.
    Regards,
    PNK

    Hi Chandran,
                I got that Idea too. I created a authorized customer, I created a authorized Object and assigned to a role.But in the role, when I am changing the object to generate profile, it is asking to select list of customers from the customer table.If the customers are always constant then this would work,  but in my scenario, customers for the sales rep changes over time and when I ever reps open the query, they should see updated list of customers assigned to them only, as we update the master data everyday from source system and that shud reflect in the value help.
    I am trying User Exit to achieve this, but I am not getting proper ideas how to do this.
    Any Help on this issue with user exit code???
    Thanks in Advance
    regards,
    PNK

  • Problem to generate same VA01 search help screen in BDC Program

    Hi All,
              I have got one issue.
              The issue is that i need to generate the search (F4) help screen of VA01 search for articles in the program,.
              I tried to record using BDC, but the screen generated is different.
              Can anyone please guide me how to generate that same search help screen in Program using BDC or any other tool.

    Hi
    Just check the field in the VA01 for which you are using BDC , you may get the standard search help for that .
    It wuld be great if you elaborate your requierment .
    Regards
    Rahul

  • My help screen on Photoshop CS2 no longer works

    I tried to activate the Help Screen on the Photoshop CS2 (Running on Windows 7) and was unable to use it.  It was operating before but now I get this.  I press Yes to get it to work, now it doesn't
    What happened, and how do I correct it?
    Thanks
    G. C. Davis

    You mean Help>Photoshop Help?
    Does anything happen or you don't get the Adobe Help Center at all?
    Do you get any message or error screen?

  • Lack of help screens in apps

    I have downloaded several apps from the ovi store for my C6-01. Many of the apps have no "help" screens or instructions on how to use them. A case in point - I downloaded the CNN app. It is a great app, but I couldn't figure out how to play videos. Videos just wouldn't play.  It would be so easy to have a "help" screen that would tell you how to do this. I am not singling out CNN.  Many of the apps posted on the ovi store suffer from the same drawbacks.  It's just that this was the latest one I downloaded.
    Well, I'm not stupid (at least I don't think so).  I like to try to figure things out if I can. I discovered that the videos will play if I change the settings within the app. I have the phone settings to use wi-fi only, but CNN defaults to my cell phone provider data to play videos.
    What other unknown surprises lurk in some of these apps?
    I think Nokia should require any app posted on the ovi store site have a "help" screen or some kind of a "how to" screen.

    I have downloaded several apps from the ovi store for my C6-01. Many of the apps have no "help" screens or instructions on how to use them. A case in point - I downloaded the CNN app. It is a great app, but I couldn't figure out how to play videos. Videos just wouldn't play.  It would be so easy to have a "help" screen that would tell you how to do this. I am not singling out CNN.  Many of the apps posted on the ovi store suffer from the same drawbacks.  It's just that this was the latest one I downloaded.
    Well, I'm not stupid (at least I don't think so).  I like to try to figure things out if I can. I discovered that the videos will play if I change the settings within the app. I have the phone settings to use wi-fi only, but CNN defaults to my cell phone provider data to play videos.
    What other unknown surprises lurk in some of these apps?
    I think Nokia should require any app posted on the ovi store site have a "help" screen or some kind of a "how to" screen.

  • I keep getting the iTunes help screen in German Language on restart, how do I stop this?

    Ugraded to iTunes 10.5 and now on restart I keep getting the iTunes help screen in German Language how do I stop this?

    Hi Thanks,
    I could only see posts from some months ago and thought I had something different.
    Looks like I have not been using the correct search terms.
    Will wait and see what happens.

  • Change labels in logon help screen

    Hi experts,
    we are using EP 7.1.4.0.1. We like to change the labels in the logon help screen. (LogonHelpApp page openned by "get Support") http://<host>:<port>/webdynpro/dispatcher/sap.com/tcsecumewdenduser/LogonHelpApp.
    In the webdynpro content administrator screen, I can not find the labels used in this screen.
    Where to change this?
    Thanks in advance,
    Vo.

    Hi experts,
    we are using EP 7.1.4.0.1. We like to change the labels in the logon help screen. (LogonHelpApp page openned by "get Support") http://<host>:<port>/webdynpro/dispatcher/sap.com/tcsecumewdenduser/LogonHelpApp.
    In the webdynpro content administrator screen, I can not find the labels used in this screen.
    Where to change this?
    Thanks in advance,
    Vo.

  • Mapping a field from input help screen(Using POV) to user screen

    I have used the Function module 'DYNP_VALUES_UPDATE', to get the value from Description field in the search help.Now its throwing a runtime error mentioned below.
    Runtime errors: CALL_FUNCTION_CONFLICT_LENG
    Except. CX_SY_DYN_CALL_ILLEGAL_TYPE.
    Short text: Type conflict when calling a function module
    the function module was called incorrectly.
    Below is the code i implemented.
    ws_dynpfields-fieldname = wc_scrfld.
    ws_dynpfields-stepl = tc_1017-current_line.
    ws_dynpfields-fieldvalue = ws_hssr-text.
    APPEND ws_dynpfields TO wt_dynpfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = 'sapmzapp01'
    dynumb = '1008'
    TABLES
    dynpfields = wt_dynpfields
    EXCEPTIONS
    invalid_abapworkarea = 1
    invalid_dynprofield = 2
    invalid_dynproname = 3
    invalid_dynpronummer = 4
    invalid_request = 5
    no_fielddescription = 6
    undefind_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE e800(zmdb_mda_supplier).
    ENDIF.
    The above code is in screen USER COMMAND OF 1017(POV-input help screen).
    wt_dynpfields is the internal table.
    and its fields are fieldname,stepl and fieldvalue
    ws_dynpfields is the workarea of the internal table.
    wc_scrfld-Constant with value zbut0000qnnyxa-ztfldg6h7np'(the description field name of the screen 1008 where i want the description value to get in automatically after selecting from input help)
    ws_hssr-text= The Work area containing the value 'eg ORDER'.
    kindly get back immediately....

    Hi,
    This function works only after POV.
    So ensure that it is written in that module:
    like AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_name.
    Hope it will guide you.
    Jogdand M B

  • Fonts on help screen

    Hi,
    I know this sounds very odd, but suddenly the font on the
    Dreamweaver 8 help screens has gotten so small I can hardly read
    them! I'd say they're about 6 pt. The index on the left side of the
    help screen is fine, it's just the body of the text on the right
    side of the help screens. These are the std. help screens within
    Dreamweaver, not anything I authored. If I print them to a pdf file
    it's the same... tiny.
    I've tried things like Ctrl + and rebooting with no
    improvement. It's not happening in other products such as Image
    Ready or Photoshop CS2. If someone can tell me how to get back to a
    readable size font I'd be very grateful.
    Thanks!

    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    Use this for the user interface:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • Can't get rid of the help screen

    CC2014. I can't get rid of the help screen because the links at bottom are gibberish. See screen shot. What font am I missing?

    Man, logging into Adobe is a major hassle. Anyway, I reloaded Tahoma and Lucida. But I don't see any delete or do not display.

  • I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    What to do after you change your Apple ID email address or password - Apple Support
    ÇÇÇ

  • Help screens not working

    Had to put Tiger back in after a failure on Leopard to make a good wireless connection, but now I have no help screens available at all. Is there any way to get them going short of putting it in again?

    You don't provide enough information to tell why this is happening.
    If you want to shoot in the dark, you can try resetting the Mac Help.
    This can be done with OnyX via Maintenance > Reset > Mac Help. Be careful with this tool: Uncheck what you don't want to be done.
    Or it can be done by hand. Dr. Smoke provides a walkthrough here.
    Hope this helps,
    --gregor

  • Help Screen blacked out in 64 bit apps in CS5

    I recently installed Production Premium CS5 and the AE/Premier Pro/Photoshop 64 bit apps have a portion of the help screen blacked out. I have spent 5 hours on phone with Adobe technical support and they have been unable to resolve. Has been escalated to level 2 support. Essentially the search box in left frame and the top of the main page consists of all black. This makes it impossible to see what has been entered in search box or where the tabs are to click for various options.

    Issue was resolved by removing all Adobe Applications, including non CS5 programs like Presenter, AIR,Captivate, Acrobat and then reinstalling Prduction Premium CS5. After using Control Panel to uninstall applications, used Adobe's clean programn http://kb2.adobe.com/cps/829/cpsid_82947.html to remove all reminants.

Maybe you are looking for

  • How to get data from file and save it in my DB

    Hi for all, my problem is : i have file in text format and this file have data . i want to insert this data into my database using forms . how i can do this .

  • Can I get the URL information in a Link?

    I am using Acrobat XI Professional and Word 2013 running under Windows 8. I want to create hyperlinks in my document using Word 2013. When Word 2013 generates a PDF version of the document, it reproduces the hyperlink save for the '#' symbol – it rep

  • How to do this**oracle experts**

    can anyone tell me how to get the modem com port by using oracle or by using and other programming lan .i whant to use it in oracel if i used another lan like c++ i what to get the modem port and to put it in avar and the var goes to oracle can we do

  • Reconnecting missing files in PSE11

    I have tried the new version of the 'reconnect missing files' in PSE11 and I find it has been much improved. Maybe worth updating the faq: http://forums.adobe.com/thread/1050248?tstart=0 ?

  • Charts and graphs

    hi all I have an application that gives me a real time signal that should be displayed continuously . Well, when i connect the wire that is giving me a signal to a waveform graph,  the signal keeps appearing properly until the graph fills and looks l