我需要在GWT中显示一个弹出式面板用于页面加载时的登录目的。我使用的是MVP架构,所以弹出面板在视图类中。如何加载弹出式面板?
发布于 2012-10-09 15:35:49
不是很清楚你在问什么,但我认为你在寻找这个:
DialogBox db=new DialogBox();
//I suppose you have created a panel login class
LoginPanel lp;
//Insert your login panel in the dialogbox
db.add(lp);
//Finally show the popup
db.show();https://stackoverflow.com/questions/7832083
复制相似问题