Where The Streets Have No Name

JXErrorPane 사용법 본문

Developement/Java

JXErrorPane 사용법

highheat 2009. 11. 5. 15:53
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {                                      
        try {
            int i = 100 / 0;
        } catch (Exception e) {
            JXErrorPane.showDialog(this, new ErrorInfo("Error", e.getMessage(), null, null, e, null, null));
        }
}