2
JOprionPane을 사용할 때 커서에 문제가 있습니다.JOptionPane 커서
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");
그것은 대화 상자를 보여 주지만, 내가 대화 상자를 닫을 때까지 기본 시스템 커서 커서를 변경 :이를 사용하여 대화 상자를 보여 다음의 pharent 프레임에 커서를 설정합니다. 이 문제를 해결할 방법이 있습니까?
감사합니다. 그것은 매력처럼 작동합니다. –