Can anybody turn off "F2" key bind in JTable

Hi all,
I have following problem,
I use global key action for key "F2", I also use as JTable cell editor my own editable combobox (extended from JComboBox). I have to turn off "F2" key action, which starts and stops editing cells in JTable, but I dont know how,
can anybody help me?
Mathew, HSIGP

i have found solution: :)
          //deleting of f2
          KeyStroke f2=KeyStroke.getKeyStroke("F2");
          int type=WHEN_ANCESTOR_OF_FOCUSED_COMPONENT;
          InputMap imap=getInputMap(type);
          InputMap m=new InputMap();                    
          for (int i=0;i<imap.allKeys().length;i++)
          if (imap.allKeys()!=f2) m.put(imap.allKeys()[i],imap.get(imap.allKeys()[i]));          
          setInputMap(type,m);
          //end of deleting f2
not best but working :),
Mathew

Similar Messages

  • Last week I've install Mac OS X Mountain Lion and then after the installation finish my IMAC start up in verbose mode. How can I turn off this mode and start my IMAC normally. I've try to key in the code "sudo nvram boot-args=" in terminal also.

    Last week I've install Mac OS X Mountain Lion and then after the installation finish my IMAC start up in verbose mode. How can I turn off this mode and start my IMAC normally. I've try to key in the code "sudo nvram boot-args=" in terminal also.
    Thank you for all of your answer.

    I've seen it mentioned on here that a PRAM reset may solve it:
    Reset PRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P and R.
    You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • My iPad display become white rather than keys are not working, i can not turn off .

    My iPad display become white rather than keys are not working, i can not turn off .
    version number iSO 8

    Your statement makes no sense at all. Please clarify.

  • How can i turn off the media player shortcuts on the f keys on the envy 17?

    how can i turn off the media player shortcuts on the f keys on the envy 17?

    If you press the Home button and open Security, you can change "Auto Lock Device" to "Never". Does that do what you want?
    Edit: I see you found the solution the Software board in this thread: http://forums.palm.com/palm/board/message?board.id=software&thread.id=13064
    Message Edited by Jeffro on 12-16-2008 12:00 AM

  • How can I turn off the autocomplete (the one summoned by Esc key)?

    Dear All, please help!
    Somehow Escape button started bringing me an autocomplete list in Keynote which is monstrously inconvenient.
    I am NOT using tables, I am working with a mere text box. Usually Escape would make me exit the text box, now it offers to insert all the words the Dictionary knows.
    It doesn't work this way for Pages, but in the TextEdit it's all the same.
    Thank you!
    Vasily.

    Zloyprep wrote:
    Somehow Escape button started bringing me an autocomplete list in Keynote which is monstrously inconvenient.
    This is rather surprising.
    What you are describing is a feature called "word completion", provided by the Cocoa text engine, and hence used by apps which rely on it, including iWork, TextEdit, and others. When you are typing, or the insertion point is in a suitable position, pressing ⎋, or ⌥⎋, or F5 brings up the word completion list. Of course, it only works if there are suitable words in the list. For instance, if you type "Schad", intending to write "Schadenfreude", you can press ⎋ as much as you wish and nothing will come up. But type "Zeit" and then ⎋, and you'll get "Zeitgeist" sure enough.
    What is surprising is that you describe it as if you had just came across it, whereas it has been available for years (although I believe that originally it was activated only by ⌥⎋). iWork (including Keynote) is a little different, because, in addition to ⎋, ⌥⎋, and F5, word completion is also activated by ⌘⎋.
    I don't know how to turn off this feature, if indeed it can be turned off.
    Usually Escape would make me exit the text box
    Is there any chance you mis-remember? The Keynote shortcut for exiting text editing and selecting the text box is ⌘↩ (command-return).

  • Up/Down Arrow keys do not perform their function on SOME websites or at SOME times, on other websites and at other times these keys work fine, updated firefox, restarted computer. turned off cursor key option in Advanced tab, using autoscrolling option.

    Up/Down Arrow keys do not perform their function on SOME websites or at SOME times, on other websites and at other times these keys work fine, updated firefox, restarted computer. turned off cursor key option in Advanced tab, using autoscrolling option.

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing].
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    See http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"

  • Satellite A660 How can i turn off the lighting of the power button?

    Hello, I recently bought a new Toshiba A660-1FL.
    However bothers me is the lighting of the multimedia keys, if I work in the dark.
    In Bios I could turn off the led illumination, but the power on/off button is still lighting,that distracts me when i am working.
    This notebook has two power LED, so the power on lighting is in my opinion, unnecessary.
    My question is: How can i turn off the lighting of the power button?

    Here you can see the LED with the same function in front of you: http://s3.imgimg.de/uploads/t009aae62jpg.jpg
    Yes in fact, the difference is color, design, but also location and brightness of the LED.
    For me, this LED is too bright and it is distracting in the dark, as you can see here: http://s3.imgimg.de/uploads/leddf570760jpg.jpg
    I was today at a local electronics store, and saw that Toshiba has the brightest Power LED on A660, but why it must be placed under the LCD and not in the front as in my old notebook Toshiba A210.
    I also had the idea with a tape, but it would look ugly, and it must be removable without residue.
    P.S. Also the fingerprints on the glossy keyboard do not look nice.

  • How can I turn off "find my ipad" to restore to factory settings if screen is not working?

    How can I turn off "Find My iPad" to restore to factory settings if screen is not working?  I can't get access to the apps on my mini pad.  I can see the device when I'm in iTunes.

    Try resetting the iPad by holding the home and power keys down until the Apple logo appears.
    Barry

  • I can't turn off file vault

    I was installing stuffit de luxe but i can't turn off file vault -- i receive en error
    and computer restart without decripting my vault.
    Does anybody knows how to fix this problem?

    The only way I found to deal with that problem is to back up the disk drive to an external disk drive, them reformat the File Vaulted drive and copy the original data back to it.

  • E72 - How can i turn off the keyboard lock functio...

    How can I turn off the keyboard lock function?  If I don't want it to auto lock after 5 mins but stay active, can I turn the auto lock off completely?  I've checked Control Panel - Settings - General - Security - Phone and SIM Card and there appears to the the option, but when you try and select 'off' it doesn't allow you to turn it off.... Help?
    Solved!
    Go to Solution.

    "it is there my frend., go to Menu - Control Panel - Settings -  General - Security - Phone and Sim Card
    then scroll down and select keypad auto lock period"
    Got it from...
    /t5/Eseries-and-Communicators/E72-shortcut-key-key​pad-lock/m-p/572418 bout halfway down. I know I had a google need to find this answer.
    Samsung Galaxy S4 'Black' (current)
    My N9 Black (backup phone)
    My N8 Green runnin Xeon^4 3.2.1
    My E72 White
    My E63 BLUE
    http://www.youtube.com/Jeahavee
    http://www.reverbnation.com/jeahavee
    Stop with the popup notes Nokia sheesh I don't need help from you :/
    I run Windows 7 Home Premium 64bit/Black Opal on my HP Dv6 1030us (DiViUs)
    Windows 7 64 bit Pro and Black Opal on my custom desktop (Giniro)

  • My elderly mother hss EXTREMELY limited vision and is a technophobe. I am considering an iPhone with Siri.  Can I turn off everything else so she can use only the phone app and voice dialing and not accidentally open any other app and screw something

    My elderly mother has EXTREMELY limited vision and is a technophobe. I am considering an iPhone with Siri.  Can I turn off everything else so she can use only the phone app and voice dialing or Siri and not accidentally open any other app and screw something up.

    I'm asking, in all seriousness, why do you think your mother needs an iPhone? Honestly, if your mother is, as you described her, a technophobe, I would recommend against getting an iPhone or any other smartphone. I've spent a fair bit of time teaching older folks to use smartphones. If they are interested in learning, it's fine. If they have the phone because their kids or grandkids thought it was a good idea but they are afraid of the phone or not interested in its features, it doesn't go well at all.
    Many basic phones have voice dialing. Obviously, it doesn't do all the things Siri does but it may be much less intimidating for your mom. Also, basic phones have hardware keys. Even someone with limited vision can learn the keyboard on such a phone. From the sound of your first post, all she will be doing is making phone calls.
    Best of luck.

  • How can I turn off login keychain?

    How can I turn off login keychain prompt?

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select Keychain Access ▹ Preferences ▹ First Aid. If the box labeled Keep login keychain unlocked is not checked, check it.
    Select Keychain Access ▹ Keychain First Aid from the menu bar and repair the keychain. Quit Keychain Access.

  • How can I turn off the volume when I turning on my computer?

    Hi,
    how can I turn off the volume when my imac is turn on? later if i use it to listens music or whatever I can turn it on manually
    I don't want to sound that indicates the computer is on
    thanks
    adaltam

    Hello:
    Simply hit the mute key on your keyboard (found over the F10 key).
    Barry

  • How can I turn off the FileVault?

    How can I turn off the FileVault? It keeps saying 'Encryption paused', even I connected the power adapter.
    What impacts does it have on my Macbook Pro if I cannot turn off the FileVault?
    Thank you!

    If you don't already have a current backup of all data, back up before proceeding. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Start up in Recovery mode. When the OS X Utilities screen appears, select Disk Utility.
    In the Disk Utility window, select the icon of the startup volume from the list on the left. It will be nested below another disk icon, usually with the same name. Click the Unlock button in the toolbar. When prompted, enter the login password of a user authorized to unlock the volume, or the alternate decryption key that was generated when you activated FileVault.
    Then, from the menu bar, select
              File ▹ Turn Off Encryption
    Enter the password again.
    You can then restart as usual, if the system is working. Decryption will be completed in the background. It may take several hours, and during that time performance will be reduced.
    If you can't turn off encryption in Disk Utility because the menu item is grayed out, you'll have to erase the volume and then restore the data from a backup. Select the Erase tab, and then select
              Mac OS Extended (Journaled)
    from the Format menu.
    You can then quit to be returned to the main Recovery screen. Follow these instructions if you back up with Time Machine. If you use other backup software, follow its developer's instructions.
    Don't erase the volume unless you have at least two complete, independent backups. One is not enough to be safe.

  • Can't turn off my ipod

    suddenly I can't turn off my ippod and it's new. I tried resetting and even restored it. Only can be turned of if connected to the computer.Can somebody help?
    Thanks
    Rudy

    sounds like it needs a full reset.
    i've seen this where the nano hangs ok 'OK TO DISCONNECT' too.
    toggle the LOCK key (on top) to ON and then back to OFF again.
    then hold down the middle button (in the middle of the click wheel) whilst also pressing the top MENU button.
    hold for approx 5-10 seconds and a small APPLE logo should appear, thus reseting the ipod.
    NOTE: This will not cause loss to any music files.
    SOURCE: http://docs.info.apple.com/article.html?artnum=61705
    Cheers,
    Phil
    PowerMac G5Dual   Mac OS X (10.4.5)   2GHz DC, 1GBDDR2

Maybe you are looking for

  • Why is my iTunes asking for me to confirm password for an ID that's not mine?

    Hi guys, First timer here! A pretty weird but potentiallly serious issue here... Firstly, this is not for me but to help a colleague. He left his MacBook Pro in a taxi a few weeks ago and it's since been lost, we tried using 'Find my Mac' through iCl

  • VL10B

    hi,         This is pretty urgent.Im not able to creatae delivery for a subcontracting purchase order and for a stock transport order of z document type. Is there any related configurations?I am getting the error "Selection criterium "Delivery creati

  • How do I put a panoramic photo as my wallpaper

    I have the iPhone 5c and I would really like to know how to set up the panoramic wallpaper every time I try and fine the folder for it i can't any help?!?!?!?!?

  • Camera Plus app download installation problem

    I purchased Camera Plus app and I recieved the receipt in my email, put when I made the purchase, I was unable to download the app to my phone.  How do I go back and download the app I have purchased?

  • Sony HD camcorder .mts format

    Hello All, I just bought a Sony Handycam HDR-XR200V. Because the software with it is not Mac compatible, I just mount the drive and transfer the media and import into Final Cut. Unfortunately, FCP does not recognize the .mts format of the clips. Afte