I'm having the same issue.
Using either NetBeans 6.9.1 or 7.0.1,
Java 1.6 and Oracle 11g. I have the oracle
JDBC jar files (ojdbc6_g.jar) within my project's library and when I run just the database connection code (no GUI interface), I'm able connect with no issues. As soon as I try to connect from within a GUI created by Netbeans (New Java Desktop Application Project), the thread blocks on...
If anyone has any suggestions or ideas I'd really appreciate it.