JOprionPaneを使用しているときにカーソルに問題があります。カーソルをファレントフレームに設定し、次のコマンドを使用してダイアログを表示します。
Object[] possibilities = {"ham", "spam", "yam"};
String s = (String) JOptionPane.showInputDialog(MagicCollectorClient.getMainFrame(),"Complete the sentence:\n\"Green eggs and...\"",
"Customized Dialog",JOptionPane.PLAIN_MESSAGE,null,possibilities,"ham");
ダイアログが表示されますが、ダイアログを閉じるまでカーソルをデフォルトのシステムカーソルに変更します。これを修正する方法はありますか?