Delaying keyPress
===

I've been searching around ways of being able to have a small delay between keypresses. I've been making this program that reads global hotkeys using the JIntellitype library, and then fires whichever sequence of keypresses you assigned, such as pressing numpad1 will do a sequence of A B C. My issue is, that if I use Thread.sleep it just delays for X amount of time and then keypresses all the assigned keys without any delay in between any of the keypresses. Does anyone have a suggestion on how to fix this problem?
Thanks in advanced!

This is what I'm using to send keypresses with the Robot class

    public void onHotKey(int identifier) {
        try {
            Robot bot = new Robot();
            if (output.elementAt(identifier - 1).length() == 1) {
                ch = output.elementAt(identifier - 1).charAt(0);
                bot.keyPress(ch);
            } else {
                int cmdSize = output.elementAt(identifier - 1).length();
                for (int c = 0; c < cmdSize; c++) {
                    bot.keyPress((int) output.elementAt(identifier - 1).charAt(c));
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException ex) {
                        Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
            }
        } catch (AWTException ex) {
            Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
        }
    }