public static void setSharedInstance (PopupFactory factory)

Sets the PopupFactory that will be used to obtain Popups. This will throw an IllegalArgumentException if factory is null.

Parameters:
factory    Shared PopupFactory

Exceptions:
IllegalArgumentException    if factory is null

See also:
getPopup