First, without argument, the open() won't be allowed. Then I pass a null as
display, then got null pointer exception for display. Even only contains
these code in start up, it still opens a big pivot window,
public void startup(Display display, Map<String, String> properties){
BXMLSerializer bxmlSerializer = new BXMLSerializer();
Dialog myDialog = (Dialog)
bxmlSerializer.readObject(ClientApplication.class, "resource/dialog.bxml");
myDialog.setModal(false);
myDialog.open((Display)null);
}
anything wrong here? I expect only a small dialog.
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/how-to-make-a-login-window-before-main-window-tp3454273p3454483.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.