> Does anyone even use the Alert class to pop alerts
> when there's the popUpManager.createPopUp ?
If you look at the inheritance tree of the Alert class,
you'll see that
an Alert instance *is* a Window instance (the Alert class
The Window class entry states that the "best way to
instantiate a window is
to call PopUpManager.createPopUp()," so the recommended
approach, in fact,
is the method you like.
> If so, is there any advantage of the Alert class?
Alert provides class members in addition to Window, so if
you need those
additional members, they describe the advantage. ;)