View RSS Feed

My Java Tips

  1. SWT Dialog

    by , 11-10-2011 at 06:57 PM (My Java Tips)
    Dialog class is the abstract superclass of the classes that represent the built in platform dialogs. A Dialog typically contains other widgets that are not accessible. A Dialog is not a Widget.


    This class can also be used as the abstract superclass for user-designed dialogs. Such dialogs usually consist of a Shell with child widgets. The basic template for a user-defined dialog typically looks something like this:

    Java Code:
     import org.eclipse.swt.*;
     import org.eclipse.swt.widgets.*;
    ...
    Tags: dialog, subclass, swt Add / Edit Tags
    Categories
    SWT / JFace