How to disable arrow keys in JTable.

Hi ,
I'm using Jtable and when pressing shift + arrow keys the rows get selected. I want to avoid this situation.
Thanks
Manjula

This posting shows how to remove a default Action;
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=657819

Similar Messages

  • How to disable certain keys in Macbook's keyboard

    How to disable certain keys in Macbook's keyboard? My keyboard is break down. It always type "\" key and disturb me!
    Dealer says internal keyboard need cost $120 to replace.
    So, I think can i disable "\" key? i don't want to disable keyboard, just \" key.
    Thanks for help!

    This posting shows how to remove a default Action;
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=657819

  • How to disable F1 Key in Safari?

    How to disable F1 Key in Safari?
    (from my website)

    Have a look at Safari>Preferences>Privacy.
    (The next category over from the one you displayed in your picture.)
    charlie

  • How to disable action keys and hotkeys??

    Hi, ihave HP G56 Notebook PC
    i have all these strange hotkeys on my laptop doing non-standard things.. it's pretty confusing.. Alt-F4 doesn't work anymore, for instance, since the F4 key is now a monitor key.. How can i make it also the F1-F12 keys by default.. like when i press F1 it's just F1.. because when i play a game on my laptop when i press F1 key it doesn't work..
    Please Help me!!
    Thanks..

    You Can disable that functionality by disabling "Action Keys Mode" in the BIOS...
    Here is the document, that will help you with it... http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02035108&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • How to Disable Fn keys- G50-70?

    Sorry but what is the BIOS?
    I cant find anything how to disable the FN keys
    Mod edit:  Subject edited to reflect content.

    This brand forum only covers MSI systems or components. Contact ASUS or a general pc forum.

  • How to disable "Enter" key - urgent

    - i have on my site one site password protected. Now i don't want that users cann use Enter key when they write password. Only when the click with mouse. For that i have onClick="..."
    How can i disable only enter key?
    Thanks

    Don't want the user to press the Enter key... who
    thinks up these ideas anyway? It never ceases to
    amaze me.Internet team in one of my early carrer companies were having problems with a search field on their web project... When the user pressed enter they were getting an error, but it worked when they clicked with the mouse.
    So they decided to remove the ability of the user to press enter, rather than figure out what was wrong and fix it... But they couldn't figure out how to disable the enter button either, so they just put red text below the search field asking users to click on the button and not to press enter...
    How the hell do some people get in the door in Software Companies?

  • Sqlplus how to use arrow key look the history

    sqlplus in DOS, I can use arrow to look the sql statement history.
    How to use arrow in Solaris.
    Thanks

    If you were using Linux, I'd refer you to http://www.dizwell.com/prod/node/56
    Since you aren't, I'll refer you to that anyway and hope that you find a way of compiling rlwrap for Solaris.

  • How to disable repeating keys

    I need to accent some characters when typing in French.  According to what I read, repeat keys should no longer work in Mountain Lion, except for asterisks and dots etc.  In theory I should be able,  by holding down the letter on the keyboard, to get a pop-up panel of possible accents to use.  But I am getting repeat keys instead.   I have tried using Lion Tweaks to use the 'disable repeating keys' function and although I get the message that is has been done, it hasn't.  Can anyone help?

    I can't explain why you are not getting the accents, but you can still use the key-chords to type accented characters.
    Press Option (alt) + Accent key, release the keys, then press the letter. For example, press Option-i, then o to get ô.
    If you have the input menu active, you can use the Keyboard Viewer to see the Accent keys. Open the viewer and press the Option key. The Orange highlighted keys will display the accents under them.

  • How to disable system keys like alt+ctrl+delete...

    Hi,
    I was wondering if there is any way to disable system keys like alt+ctrl+delete and windows logo key etc... I would like it to get disabled when ever my java application is visible and I want it in pure java.
    Thanks,
    regards,
    Jay

    Thanks for all your replies but hey I've seensome
    program ( downloaded from google ) do suchthing.
    What they do is some kinda image thing appearsin
    the
    full screen mode and do all the tasks what I'veopt
    for. So, I'm confused what is being done in
    those
    programs.
    Even if it is doable (Ctrl, Alt Delete I don't
    think
    will be, Windows Key should be) It will not via
    Java,
    but JNI. So you would be better off hunting overthe
    MSDN.137256 speaks the truth. Ctrl-Alt-Delete is a
    HARDWARE interrupt caught by the OS. In modern
    Windows it launches a widget that can be used to
    shutdown, logoff or run task manager. I have many
    doubts about what the OP is saying.
    All hail Sun.Indeed 3021. CAD is active even when Windows isn't. I experienced this recently, and never want to again.
    All hail Sun. We love you ...

  • How to disable function key shortcuts in webgui

    hello,
    I want to disable shortcut keys like F3(back) in ITS webgui. however hiding menus in webgui, function keys are still working
    Thanks & regards
    Kishan Rana

    Hello Kishan,
    Thanks for posting the answer.
    Does the note
    1501768 ITS: Config. permitted or prohibited OK codes during start
    offer any additional help here? Will further restrict the behaviour of a transaction.
    Regards,
    Oisin

  • Keynote and Macbook - How to disable "play" key from starting presentation?

    I use Keynote to view lecture presentations with audio running in the background from the lecturer (in Quicktime 7) or music (in iTunes 9).
    As such, there are times when I need to press the play/pause keys on my Macbook Pro's keyboard since the audio may have gone past the point I've read on the slide.
    In Keynote however, hitting the "Play" key starts the presentation and stops the audio in the background.
    How can I disable Keynote from taking commands from the audio control keys?
    Thanks!

    Hey thanks. But, I tried.
    Where I hit the wall was, trying to figure out where in the menubar of the Quicktime app I could find the menu text for Play/Pause.
    There is no such thing.
    I need a menu command 'text' for this Keyboard shortcuts setting (sys pref) to work.
    So, because of this, I can't assign the Play command to quicktime to anything else.
    The default key is the Spacebar (Play/Pause) or the F7,F8,F9 in recent keyboard setup.
    For now, I just Cmd+Tab between apps when doing the transcript.
    True, I could use something else for transcript and then import text afterwards.

  • How to disable function keys?

    Hello. I would like to disable the F1, F2,F3, and F4 function keys on my HP laptop.
    They open windows help and change my brightness.
    I would like them to not open shortcuts so I can use them for gaming.
    How do I do this? I've been reading plenty of threads on it but I still dont understand...Thanks!

    Hi there ,  Thank you for visiting the HP Support Forums and Welcome! This is a great site to get answers and ask questions. I read your post on the HP Support Forums. I understand that you would like to disable your Functions Keys on your Notebook.  Here is a document I found for your called HP Notebook PCs - Disable The Fn + Function Key Combination on Certain Models. 
    Please follow these provided troubleshooting steps, re-post and let me know if it worked. Thank you! Have a great day!

  • How to Disable "F" Keys?

    Hi there,
    Currently, my F8 key opens iTunes.. I want to disable this because some of my other software (Reason 5) requires this key to open certain windows etc.. How can I make it so that the "F" Key shortcuts for reason override those of the Mac OS?
    And equally, how would one go about dimming or brightening the screen once this done?
    Many thanks,

    Related question: I am running an application that requires the use of the F-keys separately from the OS shortcuts. Right now my settings are set-up so that F8 toggles my keyboard backlight on and off and Fn F8 goes to Spaces. In System Preferences > Keyboard > Keyboard toggling the "Use F1, F2, etc. keys as standard function keys" only reverses the use of the Fn key (F8 is Spaces and Fn F8 is keyboard backlight) but doesn't let the application use the keys for its defined uses. I have also unsuccessfully tried to create a custom application shortcut in the Keyboard Shortcuts tab (I guess the application will not accept this).
    Is there anything I haven't tried yet, short of third party software or manually disabling each f-key one-by-one?
    Thanks.

  • Disabling RETURN key in jTable

    Hi,
    I have a readonly jTable with some buttons underneath it.
    If i press the RETURN key it changes the focus to the next row in the table. Instead of this, i want the RETURN key to activate one of the buttons.
    I tried to disable the ENTER key action on the jTable by putting :
    table.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,0),"none");However, this doesn't give the desired result.
    Do i need to specify another keycode to disable the RETURN key or do i miss something else ?
    Thx for any help on this.
    Roger.

    Did you specify what action to take with the line of code you posted?
              Action none = new AbstractAction() {     
                   public void actionPerformed(ActionEvent e ){
                           //do whatever action you want taken here
                    pane.getInputMap().put( KeyStroke.getKeyStroke( KeyEvent.VK_ENTER, 0 ), "none" );

  • How to disable moving Columns in JTable

    Hi,
    How can I make sure that the columns in my JTable cannot be moved?
    Any ideas?
    thanks

    How about:myTable.getTableHeader().setReorderingAllowed(false);

Maybe you are looking for

  • Embedding fonts in document

    I work for a Printing Display company. Illustrator CS3 allows you to embedd subset fonts only with permission bits available. The problem I'm having is some of our big customers do not want to send copies of the fonts they paid for. They save the fil

  • T410 2518-EQG with broken LCD. What model of LCD should I buy?

    Hello. I have broken my 1280x800 LCD on T410 2518-EQG and want to buy new via eBay. There are 2 pairs of models: 42T0729 (1280x800) (1, 2) and 42T0431 (1440x900) (1, 2). Will 1440x900 model work on my laptop? Which of 2 items should I buy? Sorry for

  • Preparing never seems to stop

    I was traveling for a while and didn't have my external backup drive with me. So my machine was not backed up for 40 days. Now that I am home, Time Machine is trying to back up. However, it starts preparing for the backup but never gets around to doi

  • Tab behavior

    Tabs not behaving normal. Just installed v11. Tabs open wherever they wish, and when a tab closes, the neighbor tabs do NOT move left as in 3.6. How does one remove the tab groups or whatever is not keeping tabs against the left-most edge of the tab

  • About Apple Final Cut Studio 3 HD Full Retail?

    I'm Bidding on ebay.com on Apple Final Cut Studio 3 HD Full Retail & I Wanted to know how many CD's are in Apple Final Cut Studio 3 HD is this a long Continuing Process to Install?