Default Key Bindings

Hi,
While changing some keys, I messed my default StandardKeyBinding.dict, can someone upload theres so I can restore it?
Thanks in advance.

we can't upload this file as posting any part of OS X is illegal and would definitely violate the rules of this forum. anyone who tries will have their post promptly removed. However, you should be able to retrieve this file from the leopard install DVD using Pacifist
http://www.charlessoft.com/

Similar Messages

  • Problem changing default key bindings using Oracle Terminal

    Hello,
    I'm facing a problem changing default key bindings using Oracle Terminal. I changed
    some bindings, saved them in forms60/fmrusw.res, started the generation and saved again.
    I thought that's it but it wasn't. It took no effect at all in Forms (even after recompilation) although reopening the file in Terminal showed the changes. I'm using Forms in German, which means that even the key bindings displayed in Forms are translated i.e. STRG+F1 instead if CTRL+F1,
    but I can't find a german version of this resource file, so i think it's the same resource file for all supported languages. But what is needed for the changes to take effect ?
    Thanks in advance
    STD
    null

    Hi,
    is it client/server you are working?
    if so you should not be using the fmrusw.res file because I guess your NLS_LANG is German_Germany.WE8ISO8859P1 or something like that. This means the terminal that is being opened is fmrdw.res instead of fmrusw.res and this file should be edited using Oracle Terminal.
    if you are working via the web implementation than you can open the file fmrweb.res in a text editor and change the keybindings in there. If you need to have the PC like key bindings on the web just open the fmrpcweb.res and see if it contains the German texts. If so you can either copy this file over the frmweb.res file or you can specify term=fmrpcweb.res in the serverargs parameter.
    Hope this helps.
    Kind regards,
    Frank van der Borden
    Oracle Support Services
    Netherlands

  • Problem: sqldeveloper 1.5 key bindings in mac os x

    Hi -
    I just installed the new sqldeveloper (1.5.0.53.38) on Mac OS X Leopard, and when I try to edit sql queries in the worksheet, I'm finding that many keys don't work. For example, the spacebar and delete keys do nothing.
    I tried loading various different accelerator presets:
    - after loading "Default MacOS X" set, neither space nor delete keys do anything
    - after loading "Default", "Classic" or "Brief" sets, the spacebar works, but not delete
    I tried to fix this by changing the accelerators through the Preferences UI, but I couldn't figure out how to assign the 'backspace' key to the 'delete-previous' accelerator (since it doesn't seem possible to type the actual backspace character in the keystroke box...). I was able to fix the delete key by editing settings.xml by hand, changing this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[0]</Item>
    </data>
    </second>
    </Item>
    to this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[8]</Item>
    </data>
    </second>
    </Item>
    I was able to get the spacebar to work again by removing the association between the spacebar key and the completion-insight accelerator, using the Preferences UI.
    So, my questions are:
    - Do I have some weird setup where my delete key is [8] instead of [0]? I'm trying to tell if this is a problem with my environment or with the settings that are shipped with the product.
    - If it's the latter, could the default MacOS X accelerator settings be updated? I seem to remember this same problem happening the last couple of times I installed a new version of SQL Developer.
    Let me know if there's any other information I could provide that would be useful.
    Thanks!

    Another problem I found with the MacOS X key bindings: the 6 key doesn't work!
    In the config that ships with SQL Developer, I found this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">6</Item>
    </data>
    </second>
    </Item>
    which should be:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">meta 6</Item>
    </data>
    </second>
    </Item>

  • Cut/Copy/Paste - How to set the key bindings ?

    Hi,
    I'm currently using the motif LnF in Windows. It matches the colors and style I want.
    The problem is: people using Windows want to use the standard windows key bindings (that is: CTRL+V, CTRL+C, CTRL+X) instead of the Motif ones.
    Does anyone how to set the old Windows key bindings into the Motif LnF ?
    If anyone can provide some light, it'd be great !
    Regards,
    - Juancho

    The Swing tutorial on "General Rules for Using Text Components" has a demo program that shows you how to assign KeyStrokes to Actions.
    Unfortunately the demo has not been updated in a while and still uses a keymap. The new approach would be to use an 'inputMap' and an 'actionMap'. The code for the copy action would be something like this:
    textComponent.getInputMap().put(keyStroke, "copy");
    textComponent.getActionMap().put("copy", action);
    Again, the demo program 'TextComponentDemo' from the above tutorial will show you how to:
    1) create the keyStroke for Ctrl+C
    2) retrieve the default copy action from the editor kit

  • Changing key bindings in xcode

    I have quite a simple problem: a good portion of the key bindings i set in Xcode simply don't work.
    Example: I set "code sense select next placeholder" as command+E on my desktop..yet on my laptop when I set it to that, it just beeps when I push command+E.
    Second Example: I want to change the default key for popping up the class/method list [currently control+2], but it won't let me change it to command+2, or most other things for that matter. I've had so many problems I don't think ALL of the conflicts can be system/xcode presets that are unchangable.
    How do I force Xcode to use the key bindings I want?
    alternately: How do I see which programs are keeping Xcode from recognizing the key bindings I set?
    Thanks,
    Nick

    xcode 3 fixed this problem. hooray!

  • Terminal key bindings for Home and End

    I am recording this here in the hope of savings others some time.
    It is often stated that the following Terminal key bindings have to be asserted to get Home and End keys working as intended:
    \033OH
    \033OF
    I find this misleading as it is neither what most people would type nor what they would see.
    I type:
    escape O H
    escape O F
    This results in:
    \033oh
    \033of
    which works as intended but using 'shift' to produce the capitals depicted in most notes about this will not work.

    My default bindings did not work for home and end but page up and page down inexplicably worked with shift. The image below shows the keys and their bindings (eg \033[5~ and \033[6~ stated here for Google!) I applied to Terminal to make home, end, page up and page down behave in the same way as many other applications including iTerm. Remember to type 'esc' to get '\033'.
    I started out trying to improve the readability of large manual pages (eg man bash). Whilst the changes above improved things considerably I have now found better alternatives.
    I tried iTerm - the keys worked correctly but inconsistencies between the various window size settings did not inspire confidence.
    I now use ManOpen.app which I have configured to open when I type eg 'm chmod' in Terminal - I changed the name of openman to m and put it together with openman.1 in /usr/bin. The pages scroll normally and have hot links to other manual items. This is a simple way to vastly improve manual reading. The only slight negatives I have found are:
    1 - two preference panes will not open - defaults OK for me
    2 - window positions not remembered - since size can be set I can live with this
    3 - text cannot be set to soft wrap to window width (misnamed zoom by some applications).
    I would be interested to hear if others have found better ways of viewing manuals.
    Here are some interesting pages:
    http://en.wikipedia.org/wiki/Tableof_keyboard_shortcuts#Command_lineshortcuts
    http://www.tuaw.com/2008/03/07/here-comes-your-man-viewer/

  • JPasswordField affects key bindings

    I set up some key bindings so my program can react to the arrow keys. I came across a rather confusing problem. I've set up a test case to show it:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class TestCase extends JFrame {
         private static final long serialVersionUID = 1L;
         JPanel contentPane;
         CardLayout cl = new CardLayout();
         public TestCase() {
              super("Terraworld GUI Testing Zone");
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              setResizable(false);
              contentPane = new JPanel(cl);
              contentPane.add(new TestTitlePanel(), "Title Screen");
              setContentPane(contentPane);
              pack();
              setVisible(true);
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new TestCase();
         public void addCard(JPanel card, String name, boolean show) {
              contentPane.add(card, name);
              if(show == true) {
                   cl.show(contentPane, name);
         public void removeCard(JPanel card, String name) {
              contentPane.remove(card);
              cl.show(contentPane, name);
    class TestTitlePanel extends JPanel implements MouseListener {
         private static final long serialVersionUID = 1L;
         JLabel loadCharacter;
         public TestTitlePanel() {
              super();
              setPreferredSize(new Dimension(800, 600));
              loadCharacter = new JLabel("Load Character");
              loadCharacter.addMouseListener(this);
              add(loadCharacter);
         public void mouseClicked(MouseEvent e) {
              if(e.getSource().equals(loadCharacter)) {
                   ((TestCase)(getRootPane().getParent())).addCard(new TestLoadCharacterPanel(), "Load Character Screen", true);
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void mousePressed(MouseEvent e) {}
         public void mouseReleased(MouseEvent e) {}
    class TestLoadCharacterPanel extends JPanel {
         private static final long serialVersionUID = 1L;
         public TestLoadCharacterPanel() {
              super(null);
              setPreferredSize(new Dimension(800, 600));
              add(new LoadCharacterForm());
         public class LoadCharacterForm extends JPanel implements ActionListener, MouseListener {
              private static final long serialVersionUID = 1L;
              JTextField usernameField;
              JPasswordField passwordField;
              JLabel cancelButton;
              JLabel okButton;
              public LoadCharacterForm() {
                   super(null);
                   setBounds(204, 167, 396, 225);
                   usernameField = new JTextField();
                   usernameField.addActionListener(this);
                   usernameField.setBounds(263, 46, 109, 20);
                   usernameField.setFont(new Font(Font.SANS_SERIF,
                             usernameField.getFont().getStyle(),12));
                   usernameField.setText("Default");
                   passwordField = new JPasswordField();
                   passwordField.addActionListener(this);
                   passwordField.setBounds(262, 71, 109, 20);
                   passwordField.setText("Default");
                   cancelButton = new JLabel("Cancel");
                   cancelButton.addMouseListener(this);
                   cancelButton.setBounds(163, 113, 45, 15);
                   okButton = new JLabel("Ok");
                   okButton.addMouseListener(this);
                   okButton.setBounds(347, 113, 28, 15);
                   add(usernameField);
                   add(passwordField);
                   add(cancelButton);
                   add(okButton);
              public void actionPerformed(ActionEvent e) {
                   String username = usernameField.getText();
                   String password = new String(passwordField.getPassword());
                   String error = "";
                   if(!username.equals("") && !password.equals("")) {
                        ((TestCase)(getRootPane().getParent())).addCard(new TestGamePanel(), "Game Screen", false);
                        ((TestCase)(getRootPane().getParent())).removeCard(TestLoadCharacterPanel.this, "Game Screen");
                   else {
                        if(username.equals("")) {
                             error = "Username field is empty!";
                        if(password.equals("")) {
                             if(!error.equals("")) {
                                  error += System.getProperty("line.separator");
                             error += "Password field is empty!";
                        JOptionPane.showMessageDialog(null, error);
              public void mouseClicked(MouseEvent e) {
                   if(e.getSource().equals(okButton)) {
                        actionPerformed(new ActionEvent(usernameField, 1, ""));
                   else if(e.getSource().equals(cancelButton)) {
                        ((TestCase)(getRootPane().getParent())).removeCard(TestLoadCharacterPanel.this, "Title Screen");
              public void mouseEntered(MouseEvent e) {}
              public void mouseExited(MouseEvent e) {}
              public void mousePressed(MouseEvent e) {}
              public void mouseReleased(MouseEvent e) {}
    class TestGamePanel extends JPanel {
         private static final long serialVersionUID = 1L;
         public TestGamePanel() {
              super(null);
              setPreferredSize(new Dimension(800, 600));
              setFocusable(true);
              requestFocusInWindow();
              Action downAction = new DownAction("Down", "Down");
              Action upAction = new UpAction("Up", "Up");
              Action rightAction = new RightAction("Right", "Right");
              Action leftAction = new LeftAction("Left", "Left");
              getInputMap(JPanel.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("DOWN"), downAction.getValue(Action.NAME));
              getActionMap().put(downAction.getValue(Action.NAME), downAction);
              getInputMap(JPanel.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("UP"), upAction.getValue(Action.NAME));
              getActionMap().put(upAction.getValue(Action.NAME), upAction);
              getInputMap(JPanel.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("RIGHT"), rightAction.getValue(Action.NAME));
              getActionMap().put(rightAction.getValue(Action.NAME), rightAction);
              getInputMap(JPanel.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("LEFT"), leftAction.getValue(Action.NAME));
              getActionMap().put(leftAction.getValue(Action.NAME), leftAction);
         class DownAction extends AbstractAction {
              private static final long serialVersionUID = 1L;
              public DownAction(String text, String desc) {
                   super(text);
                   putValue(SHORT_DESCRIPTION, desc);
              public void actionPerformed(ActionEvent e) {
                   JOptionPane.showMessageDialog(null, "Down");
         class UpAction extends AbstractAction {
              private static final long serialVersionUID = 1L;
              public UpAction(String text, String desc) {
                   super(text);
                   putValue(SHORT_DESCRIPTION, desc);
              public void actionPerformed(ActionEvent e) {
                   JOptionPane.showMessageDialog(null, "Up");
         class RightAction extends AbstractAction {
              private static final long serialVersionUID = 1L;
              public RightAction(String text, String desc) {
                   super(text);
                   putValue(SHORT_DESCRIPTION, desc);
              public void actionPerformed(ActionEvent e) {
                   JOptionPane.showMessageDialog(null, "Right");
         class LeftAction extends AbstractAction {
              private static final long serialVersionUID = 1L;
              public LeftAction(String text, String desc) {
                   super(text);
                   putValue(SHORT_DESCRIPTION, desc);
              public void actionPerformed(ActionEvent e) {
                   JOptionPane.showMessageDialog(null, "Left");
    }When you run that, click Load Character, then just click OK. If you press the arrow keys, corresponding alerts should come up. Now, if you rerun the program, and edit the JPasswordField in any way, then click OK, if you press the arrow keys, nothing happens. Somehow, by editing the password field, key bindings get messed up.
    Does anyone know why this happens and how to fix it?

    Eh, I hate it when this happens, but I figured it out not long after I posted this. Sorry.
    The problem was the Load Character screen was not being removed properly due to bad technique that I got from a source on Google. So the password field, which (if I understand properly) disables key bindings for security when it has the focus, or something along those lines, was not allowing the key bindings to happen.
    To see further evidence, try editing the password field, then place the cursor in the top field (that says "Default") and click OK. It works.
    Anyway, to fix the above code, I just changed the cases of TestLoadCharacterPanel.this (which didn't make any sense anyway) to this, which I didn't think would work, since it's an embedded class. But it did.
    Sorry for the pointless post.

  • Terminal Key Bindings

    I have noticed when using terminal. If I launch some in terminal applications, the key bindings for some keys no longer seem to work. Of primary concern are 'up arrow', 'dn arrow' and 'backspace'.
    I know I can go into the Terminal menu -> Window Settings and launch the Terminal Inspector to remedy, but I can't quite figure out how.
    The backspace seems to repair by setting "Delete sends backspace" I thought I could fix Up arrow by setting the key mapping to "\UF700" but I could only get it to enter as \\UF700 and that did not seem to work.
    Any ideas on mapping the up arrow and dn arrow keys?

    You can use the bindkey command for setting the keymap.
    E.g. bindkey -k up up-history. This bind the command up-history to the up arrow key. Without the -k option is this the characters ^[[A for up ^[[B down
    ^[[C right and ^[[D left.
    For an individual keymap use bindkey ^[t clear-screen. The character ^ is the sign for the controll key, t stands for an individual character and clear-screen is the command.
    Write this into the .cshrc if you use the tcsh shell.
    In the bash it is easier.
    The arrow map used nearly the same characters as in the tcsh.
    "\e[A": up-history is the map for the up arrow
    For an individual key is this:
    Control-t:clear-screen.
    Write these into the .inputrc file.
    The default settings for the arrow keys are: up-history, down-history, backward-char and forward-char.

  • Default key date, Document date and posting date needs to be changed automa

    Hi Experts,
    The user wants to create a variant for Foreign currency valuation, wherein the default key date, Doc date and Posting date needs to be changed every month automatically. Is it possible?
    Please let me know your thoughts.
    Warm regards,
    Murukan Arunachalam

    Hi
    Please follow this process.
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data.
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • Control-k key binding broken. How can I check and change my key bindings?

    I use the Terminal app a lot. Unfortunately I am not able to use the control-k shortcut to cut lines in the terminal anymore. How can I check (and change) the Terminal key bindings?
    Thank you!

    Basing on your input, you should get the following values:
    1) session keys
    SK_ENC: 6DCE2A99BACB5207A7A96A92F114D66C
    SK_MAC: 0D446132B168F75CD6F0A780693A4DD3
    SK_DEK: 19F7B0F94837F32874B29B5EFB7809F6
    2) host cryptogram
    1B781553209748EA
    3) Retail MAC
    01761103B810F00E
    Summing up, the External Authenticate command should have the following value:  84 82 01 00 10 1B781553209748EA 01761103B810F00E.
    Try to compare it with your results.
    Regards

  • What is the default key command for the COMMAND key?I seem to have changed it somehow along the way and now when I push the command key it hides all windows or shows desk top I need to correct this as soon as possible-.any ideas?

    What is the default key command for THE COMMAND (apple) key? I seem to have changed it somehow along the way and now when I push the command key (only) it hides all open windows and shows the desk top and when I push it again it shows all windows again...I need to return to default A.S.A.P. just this one key...Any ideas? Thanks in advance...

    Go to
     > System Preferences > Keyboard
    Click on the 'Keyboard' tab and hit the 'modifier keys...' button. You can see and change the defaults there.
    As I'm not sure if all the labels are the same in Lion, he's a screenshot from Snow Leopard. It should be similar enough:

  • Default key in internal tables

    what is 'Default key'? for what type of internal tables it is used? Can you please explain with examples?
    Thanks a lot.

    <i>Key
    The key identifies table rows. There are two kinds of key for internal tables - the standard key and a user-defined key. You can specify whether the key should be UNIQUE or NON-UNIQUE. Internal tables with a unique key cannot contain duplicate entries. The uniqueness depends on the table access method.
    <b>At tables with structured row type, the standard key is formed from all character-type columns of the internal table.</b> If a table has an elementary line type, the default key is the entire line. The default key of an internal table whose line type is an internal table, the default key is empty. At tables with non-structured row type, the standard key consists of the entire row. If the row type is also a table, an empty key is defined.
    The user-defined key can contain any columns of the internal table that are no internal table themselves, and do not contain internal tables. References are allowed as table keys. Internal tables with a user-defined key are called key tables. When you define the key, the sequence of the key fields is significant. You should remember this, for example, if you intend to sort the table according to the key.</i>
    Regards,
    Rich Heilman

  • Key Bindings using the arrow keys

    Following is some code that allows you to move a component around the screen using the arrow keys. I've noticed a problem and I'm just wondering if its Java or my keyboard.
    Lets start with an example that works:
    Press the down and right keys. Then press either the up or left key. The image moves proving that it supports 3 keys.
    Now for the problem:
    Press the up and left keys. Then press either the down or right key. Three things to notice:
    a) the direction doesn't change when the third key is pressed
    b) no output is displayed, so the ActionListener is not being invoked
    c) after a short time, the program starts beeping
    Now try rerunning the code after removing the comments that assign the key bindings to the "a, s, d, f" keys. Redo the above test and it works even if all four keys are pressed.
    I don't remember this problem when I wrote the code a while ago, but I did recently get a cheap new keyboard so I'm just wondering if the problem is my keyboard or whether its a quirk with Java.
    You can download Duke from here:
    http://java.sun.com/docs/books/tutorial/uiswing/examples/components/LayeredPaneDemoProject/src/components/images/dukeWaveRed.gif
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class KeyboardNavigationProblem implements ActionListener
         private JComponent component;
         private int deltaX;
         private int deltaY;
         private Timer timer;
         private int keysPressed;
         private InputMap inputMap;
         public KeyboardNavigationProblem(JComponent component, int delay)
              this.component = component;
              this.deltaX = deltaX;
              this.deltaY = deltaY;
              timer = new Timer(delay, this);
              timer.setInitialDelay( 0 );
              inputMap = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
         public void addAction(int keyCode, String description, int deltaX, int deltaY)
              new NavigationAction(keyCode, description, deltaX, deltaY);
         public void updateDeltaX(int delta)
              deltaX += delta;
         public void updateDeltaY(int delta)
              deltaY += delta;
         public void actionPerformed(ActionEvent e)
              int componentWidth = component.getSize().width;
              int componentHeight = component.getSize().height;
              Dimension parentSize = component.getParent().getSize();
              int parentWidth  = parentSize.width;
              int parentHeight = parentSize.height;
              //  Determine next X position
              int nextX = Math.max(component.getLocation().x + deltaX, 0);
              if ( nextX + componentWidth > parentWidth)
                   nextX = parentWidth - componentWidth;
              //  Determine next Y position
              int nextY = Math.max(component.getLocation().y + deltaY, 0);
              if ( nextY + componentHeight > parentHeight)
                   nextY = parentHeight - componentHeight;
              //  Move the component
              component.setLocation(nextX, nextY);
         class NavigationAction extends AbstractAction implements ActionListener
              private int deltaX;
              private int deltaY;
              private KeyStroke pressedKeyStroke;
              private boolean listeningForKeyPressed;
              public NavigationAction(int keyCode, String description, int deltaX, int deltaY)
                   super(description);
                   this.deltaX = deltaX;
                   this.deltaY = deltaY;
                   pressedKeyStroke = KeyStroke.getKeyStroke(keyCode, 0, false);
                   KeyStroke releasedKeyStroke = KeyStroke.getKeyStroke(keyCode, 0, true);
                   inputMap.put(pressedKeyStroke, getValue(Action.NAME));
                   inputMap.put(releasedKeyStroke, getValue(Action.NAME));
                   component.getActionMap().put(getValue(Action.NAME), this);
                   listeningForKeyPressed = true;
              public void actionPerformed(ActionEvent e)
                   if (listeningForKeyPressed)
                        updateDeltaX( deltaX );
                        updateDeltaY( deltaY );
                        inputMap.remove(pressedKeyStroke);
                        listeningForKeyPressed = false;
                           if (keysPressed == 0)
                                timer.start();
                     keysPressed++;
                   else // listening for key released
                        updateDeltaX( -deltaX );
                        updateDeltaY( -deltaY );
                        inputMap.put(pressedKeyStroke, getValue(Action.NAME));
                        listeningForKeyPressed = true;
                        keysPressed--;
                           if (keysPressed == 0)
                                timer.stop();
                   System.out.println(KeyboardNavigationProblem.this.deltaX + " : "
                   + KeyboardNavigationProblem.this.deltaY);
         public static void main(String[] args)
              JPanel contentPane = new JPanel();
              contentPane.setLayout( null );
              JLabel duke = new JLabel( new ImageIcon("dukewavered.gif") );
              duke.setSize( duke.getPreferredSize() );
              duke.setLocation(100, 100);
              contentPane.add( duke );
              KeyboardNavigationProblem navigation = new KeyboardNavigationProblem(duke, 100);
              navigation.addAction(KeyEvent.VK_LEFT, "zLeft", -5, 0);
              navigation.addAction(KeyEvent.VK_RIGHT, "zRight", 5, 0);
              navigation.addAction(KeyEvent.VK_UP, "zUp", 0, -5);
              navigation.addAction(KeyEvent.VK_DOWN, "zDown", 0, 5);
    //          navigation.addAction(KeyEvent.VK_A, "zLeft", -5, 0);
    //          navigation.addAction(KeyEvent.VK_S, "zRight", 5, 0);
    //          navigation.addAction(KeyEvent.VK_D, "zUp", 0, -5);
    //          navigation.addAction(KeyEvent.VK_F, "zDown", 0, 5);
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setContentPane( contentPane);
              frame.setSize(800, 600);
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

    if you hold down left and right (so it doesn't move), down works, but not up.
    hold up/down, right works but not left.Yes, the problem only seems to be when the up and left in combination with the right or down key is pressed.
    num lock off - use the number pad arrow keys and all works OK Thats interesting, I didn't notice that. Although it just confuses the issue as to what the problem is.
    So it appears to me that:
    a) left + up + down, and
    b) left + up + right
    are special key combinations that are intercepted by either the OS or the JVM. Do these key combinations ring a bell to anybody?
    I'm use JDK1.4.2 on XP. I wonder if other OS will have the same problem?
    Again, this isn't a real, problem, just more of a curiosity. Thanks,

  • Change default key size on non Domain joined CA.

    Hello,
    I have one standalone non domain joined CA I would like to change the default key size of all issued certs to 2048.  Since it is a stand along, there are no AD template to modify.  Can this be changed in the registry?
    Shawn

    CAPolicy.inf is the way to go.
    See the following thread
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ce001d8f-c722-4429-83cb-328b92876292/how-to-change-root-certificate-keys-length-and-validity-period?forum=winserversecurity
    Hth, Anders Janson Enfo Zipper

  • Using enter as default key

    hi all,
    i cant seem to find a way to set enter as the default key for UID="1" in XML.
    in SAP when you press enter it automaticaly activates the add, close, update button. so i was wondering what more you need to do besides setting the button as UID="1"??
    many thanks,
    C. Oude Luttikhuis

    Oude,
         May i understand your question r not i dont knw but i think that u want to set the enter button as default. For that in XML file u want to set the property default_button="1" in form property
    If it helps give reward points,
    Regards,
    Anitha

Maybe you are looking for

  • Show progress bar before loading the applet or application

    hi , My application size is large and take some time to load . Now i want that to show progress bar . how can i do this .Please Help me sorry for my english. Thanks

  • Highlighting a field in red color in ALV

    Hi all, I want to highlight one particular field in red/green color dynamically based on some condition in ALV display.  Please suggest how to proceed. Balaji

  • Default Every User Roles missing

    Hi,    We installed the latest version on EP 6.0. After installation, when we looked into the available default roles in the portal, the dafault Every User Roles - " Role: Every User Core (eu_core_role)" and "Role: Control Center User (cc_user)" are

  • SAP License expert - needed to answer a question.

    Connection problem: session limit and license If there is an SAP person here knowledgeable in license issues please follow that link and help us out.

  • IPhone3G that reception problem is cleard will be coming???

    Japan user called Apple Japan to ask about bad reception problem. and Apple Japan said that iPhone 3G that reception problem is cleared will be coming soon. I think reception problem is Hardware issue not a Sofware issue... any thought?