java.lang.IllegalArgumentException

defaultCloseOperation must be one of: DO\_NOTHING\_ON\_CLOSE, HIDE\_ON\_CLOSE, or DISPOSE\_ON\_CLOSE


Solutions on the web14100

Solution icon of sourceforge
via freemind by coldrick
, 1 year ago
defaultCloseOperation must be one of: DO\_NOTHING\_ON\_CLOSE, HIDE\_ON\_CLOSE, or DISPOSE\_ON\_CLOSE

Solution icon of sourceforge
defaultCloseOperation must be one of: DO\_NOTHING\_ON\_CLOSE, HIDE\_ON\_CLOSE, or DISPOSE\_ON\_CLOSE

Solution icon of sourceforge
via freemind by vincent-de
, 1 year ago
defaultCloseOperation must be one of: DO\_NOTHING\_ON\_CLOSE, HIDE\_ON\_CLOSE, or DISPOSE\_ON\_CLOSE

Solution icon of bugzilla
via Netbeans Bugzilla by waynezhang, 1 year ago
defaultCloseOperation must be one of: DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE

Solution icon of googlegroups
via Google Groups by Foex, 1 year ago
defaultCloseOperation must be one of: DO_NOT HING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE

Solution icon of oraclecommunity
via Oracle Community by 843805, 8 months ago
defaultCloseOperation must be one of: DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE

Solution icon of github
one of either dataSource or dataSourceClassName must be specified

Solution icon of web
via sourceforge.net by Unknown author, 1 year ago
One of setGitDir or setWorkTree must be called.

Solution icon of github
One of setGitDir or setWorkTree must be called.

Solution icon of github
One of setGitDir or setWorkTree must be called.

Stack trace

  • java.lang.IllegalArgumentException: defaultCloseOperation must be one of: DO\_NOTHING\_ON\_CLOSE, HIDE\_ON\_CLOSE, or DISPOSE\_ON\_CLOSE at javax.swing.JDialog.setDefaultCloseOperation(JDialog.java:700)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.