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.
After clicking "Run SQL" to run a successful SQL command, the "SQL Command execution" window that is part of the "output" group loses focus, and my "Apache Tomcat 6.0.26 Log" window is shown instead. This is kindof weird. If an SQL command is unsuccessful, then the "SQL Command execution" window is shown, which is the way it should be. IMHO the correct behaviour should be: - if the "SQL Command execution" window doesn't exist, show it - if the "SQL Command execution" window exists and has the focus, keep it - if the "SQL Command execution" window exists and hasn't the focus, show it either (a) immediately, or (b) when the SQL command is done, or (c) when the SQL command has failed. (I'm not sure which of these alternatives is the best, although I notice that the "dist" output window is shown immediately when doing a project build, which is like my (a) option)
*** Bug 194208 has been marked as a duplicate of this bug. ***
Related to bug 200302. Seems to work fine now. Please reopen if some problems remain. Thank you.