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.

Bug 28963

Summary: New XML document wizard is Spin.off() candidate
Product: xml Reporter: _ pkuzel <pkuzel>
Component: CodeAssignee: issues@xml <issues>
Status: RESOLVED WONTFIX    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 26581    

Description _ pkuzel 2002-11-22 17:22:53 UTC
The DTD panel and XML Schema panels both run 
synchronous schema/DTD parsing from focusLost 
handlers. The focus is redrawn after parsing 
termination. This percieved perfomance problem 
can be solved either by: 
 
  SwingWorker 
  foxtrot 
  Spin.off() 
 
depending on which approach will be choosen as 
"default".
Comment 1 Petr Nejedly 2003-07-09 14:18:06 UTC
Please forget about Spin, the bean provided by it if very dangerous
inside any swing application (Swing is not reentrant except very
specific places and in spin, you don't have proper control over the
calls).
Comment 2 Jaroslav Tulach 2008-10-24 09:06:25 UTC
Spin.off! This must be really old idea, as I have not heard about Spin for last three years at least.