loginWindow.setTitle("Welcome to the NextApp Echo2 Test Application");
loginWindow.setStyleName("WelcomePane");
loginWindow.setClosable(false);
add(loginWindow);
SplitPane splitPane = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new Extent(32));
loginWindow.add(splitPane);
Row controlRow = new Row();
controlRow.setStyleName("ControlPane");
splitPane.add(controlRow);
Button button = new Button("Continue", Styles.ICON_24_YES);
button.setRenderId("WelcomePaneEnter");
button.setId("EnterTestApplication");
button.setStyleName("ControlPane.Button");
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
InteractiveApp.getApp().displayTestPane();
}
});
controlRow.add(button);
Column infoColumn = new Column();
infoColumn.setInsets(new Insets(20, 5));
infoColumn.setCellSpacing(new Extent(10));
splitPane.add(infoColumn);
label = new Label("Please read the following before using the test application:");
label.setFont(new Font(null, Font.BOLD, null));
infoColumn.add(label);