doScan( keyText.getText(), (String) cursorType.getSelectedItem());
doScan( keyText.getText(), selectedCursorType );
            public void actionPerformed(ActionEvent e)            {                doScan(                    keyText.getText(),                    (String) cursorType.getSelectedItem());            }