public class ConcealedDialogDispatcherFactory extends DialogDispatcherFactory
Dispatcher
s created by this class are not
usable for GUIs with Cancel
functionality since they will
block user access to all windows of your application during dispatching.Dialog
does the same. Cancel
functionality
you should consider to use a real asynchronous solution as showed in
spin.demo.async.AsyncGUI
- please see also the caveat 'asynchronous'. DialogDispatcherFactory.DialogDispatcher
Constructor and Description |
---|
ConcealedDialogDispatcherFactory() |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Dialog |
aquireDialog()
Aquire a pooled dialog.
|
protected java.awt.Dialog |
createDialog()
Factory method to create a new dialog.
|
protected void |
initDialog(java.awt.Dialog dialog)
Initialize the given dialog.
|
protected void |
releaseDialog(java.awt.Dialog dialog)
Release a pooled dialog.
|
createDispatcher
protected java.awt.Dialog aquireDialog()
aquireDialog
in class DialogDispatcherFactory
protected void releaseDialog(java.awt.Dialog dialog)
releaseDialog
in class DialogDispatcherFactory
dialog
- dialog to releaseprotected java.awt.Dialog createDialog()
protected void initDialog(java.awt.Dialog dialog)
dialog
- dialog to initializeCopyright © 2018. All rights reserved.