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.
[#200507131800, jdk1.4.2] to reproduce: ------------- 1) right click a Database Connection node and chose Connect 2) enter User Name and Password 3) click OK button NOTE: a connection progress bar appears 4) click Cancel button NOTE: the Connection dialog disappears ERROR: the *canceled* Connect action finishes successfully
Reassigned to new owner.
Created attachment 137913 [details] proposed patch v1 The attached patch doesn't allow connection canceling, as the potentially long running operation (java.sql.Driver#connect) is not cancelable. Instead the cancel button in the ConnectionDialog is only usable to close this dialog while no connection is being established. I also removed the cancel button from the case where only the connection progress is shown.
Patch applied: http://hg.netbeans.org/core-main/rev/88e0d4e707f7 Thank you for the patch.
Integrated into 'main-silver', will be available in build *201312120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/88e0d4e707f7 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #61417: Cannot cancel Connect action