스윙에서 메세지박스를 만드려고 코드를 이렇게 집어넣었습니다.
JOptionPane.showMessageDialog(this, "message", "title");
그런데 이런 에러 메세지가 나오네요
The method showMessageDialog(Component, Object, String, int) in the type
JOptionPane is not applicable for the arguments (new MouseListener(){}, String,
String)