| ←Older revision | Revision as of 07:28, 2 May 2010 | ||
| Line 11: | Line 11: | ||
This solution is not going to make anything faster (obviously it is just [[UI Responsiveness]] work), it just properly indicates the status to the user and offers the additional benefit of being able to stop waiting for end of the operation. | This solution is not going to make anything faster (obviously it is just [[UI Responsiveness]] work), it just properly indicates the status to the user and offers the additional benefit of being able to stop waiting for end of the operation. | ||
| - | One of the distinguished members of [[NetBeans]] community however (quite convincingly) argued in favor of polishing the whole event handling model claiming that '''AWT Dispatch Thread shall be used only for painting'''. I really like this idea. It is so [[rationalistic]]! We know that there are problems in blocking the essential [[Swing]]'s resource (its dispatch thread) for too long and thus we shall design proper mechanism to eliminate this (something like [[SwingWorker]]). Then we shall rewrite all the [[NetBeans]] code to use this and then the world would be more beautiful place (indeed, as it would be [[rationalistic]]). | + | One of the distinguished members of [[NetBeans]] community however (quite convincingly) argued in favor of polishing the whole event handling model claiming that '''AWT Dispatch Thread shall be used only for painting'''. I really like this idea. It is so [[rationalistic]]! We know that there are problems in blocking the essential [[Swing]]'s resource (its dispatch thread) for too long and thus we shall design proper mechanism to eliminate this (something like [[SwingWorker]]). Then we shall rewrite all the [[NetBeans]] code to use this and then the world would be more [[beautiful]] place (indeed, as it would be [[rationalistic]]). |
My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up. | My own [[rationalistic]] half really wants the above approach to be implemented. However when the other half imagines how much existing code would have to be fixed, how much time that would take, how the [[NetBeans]] release schedule would be affected, how many complains we would hear from our fellow developers, then the whole of me just has to give up. | ||