Fastest way to create a Java message dialog (swing/awt/other)?

后端 未结 10 853
醉梦人生
醉梦人生 2021-01-17 12:41

I\'m creating a Java application that will do some processing then needs to display a message to give the user feedback.

However, it appears to be incredibly slow -

10条回答
  •  星月不相逢
    2021-01-17 12:56

    You could use the JOptionDialog

    JOptionPane.showMessageDialog([parent frame], [message], [title], JOptionPane.MESSAGE_TYPE);
    

提交回复
热议问题