public UserLogin(Shell parentShell) {
super(parentShell);
setShellStyle(SWT.TITLE);
}
protected Control createDialogArea(Composite parent) {
parent.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
Composite container = (Composite) super.createDialogArea(parent);
container.setLayout(null);
parent.getShell().setText("图书馆管理用户登录");
.....
本文介绍了一个使用SWT库创建的简单图书馆管理用户登录界面的实现过程。该界面设置了白色背景,并且没有边框,突出了图书馆管理用户登录的主题。
7988

被折叠的 条评论
为什么被折叠?



