This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new d9b5883  Left/Right arrow are too generic to be used for switching 
tabs in the Tools/Option dialog. Prefer Ctrl-(Shift)-Tab. (#660)
d9b5883 is described below

commit d9b588328ebb22b14d849ebf5d849c26f577134a
Author: Jaroslav Tulach <jaroslav.tul...@oracle.com>
AuthorDate: Wed Aug 15 08:17:30 2018 +0200

    Left/Right arrow are too generic to be used for switching tabs in the 
Tools/Option dialog. Prefer Ctrl-(Shift)-Tab. (#660)
---
 options.api/src/org/netbeans/modules/options/OptionsPanel.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/options.api/src/org/netbeans/modules/options/OptionsPanel.java 
b/options.api/src/org/netbeans/modules/options/OptionsPanel.java
index d058192..5baa3c4 100644
--- a/options.api/src/org/netbeans/modules/options/OptionsPanel.java
+++ b/options.api/src/org/netbeans/modules/options/OptionsPanel.java
@@ -848,10 +848,10 @@ public class OptionsPanel extends JPanel {
         if (getActionMap ().get("PREVIOUS") == null) {//NOI18N
             InputMap inputMap = getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
             
-            inputMap.put (KeyStroke.getKeyStroke (KeyEvent.VK_LEFT, 0), 
"PREVIOUS");//NOI18N
+            inputMap.put (KeyStroke.getKeyStroke (KeyEvent.VK_TAB, 
KeyEvent.CTRL_DOWN_MASK | KeyEvent.SHIFT_DOWN_MASK), "PREVIOUS");//NOI18N
             getActionMap ().put ("PREVIOUS", new PreviousAction ());//NOI18N
             
-            inputMap.put (KeyStroke.getKeyStroke (KeyEvent.VK_RIGHT, 
0),"NEXT");//NOI18N
+            inputMap.put (KeyStroke.getKeyStroke (KeyEvent.VK_TAB, 
KeyEvent.CTRL_DOWN_MASK),"NEXT");//NOI18N
             getActionMap ().put ("NEXT", new NextAction ());//NOI18N
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to