This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 196699
Collapse All | Expand All

(-)../../nb.orig/db.dataview/src/org/netbeans/modules/db/dataview/output/DataViewActionHandler.java (-1 lines)
Lines 156-162 Link Here
156
        InsertRecordDialog dialog = new InsertRecordDialog(dataView);
156
        InsertRecordDialog dialog = new InsertRecordDialog(dataView);
157
        dialog.setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
157
        dialog.setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
158
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
158
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
159
        dialog.setMinimumSize(new Dimension((screenSize.width - 50) / 2, (screenSize.height - 50) / 2));
160
        dialog.setVisible(true);
159
        dialog.setVisible(true);
161
    }
160
    }
162
161

Return to bug 196699