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.
Summary: | Provide API that let's you call showAddDriver on AWT thread and return the driver | ||
---|---|---|---|
Product: | db | Reporter: | Vadiraj Deshpande <vadirajvd> |
Component: | Code | Assignee: | David Vancouvering <davidvc> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | API, API_REVIEW_FAST, PLAN |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 131356, 134193, 138142 | ||
Attachments: | Patch for proposed change |
Description
Vadiraj Deshpande
2008-03-10 09:35:59 UTC
Probably a method like JDBCDriverManager.showAddDriverDialogFromEventThread() needs to be provided which can only be called in the event dispatching thread and can return the new driver. Similar to ConnectionManager.showAddConnectionDialogFromEventThread(). I know this is frustrating, but it's not a defect, it really is an enhancement request. I like Andrei's suggestion. Let's do this, it shouldn't be hard at all, and will provide a real benefit. Created attachment 63625 [details]
Patch for proposed change
Please review patch for proposed change. I tested this manually and it works as desired. Patch looks good to me. API looks fine. Ready for integration Verified with build 080714. |