Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
final StackLayout layout;
shlHello = new Shell();
final Label label = new Label(shlHello, SWT.NONE);
label.setImage(SWTResourceManager.getImage(StartupMenu.class, "LogoLarge.jpg"));
label.setAlignment(SWT.CENTER);
final Button btnok = new Button(shlHello, SWT.NONE);
btnok.setToolTipText("Please click the button to continue.");
btnok.setImage(SWTResourceManager.getImage(StartupMenu.class, "Agreement1.JPG"));
btnok.setLocation(0, 0);
btnok.setSize(752, 305);
btnok.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
layout.topControl = label;
shlHello.layout();
}
});
shlHello.setSize(760, 352);
shlHello.setText("Hello");
layout = new StackLayout();
shlHello.setLayout( layout );
layout.topControl = btnok;
Shell shlHello = new Shell();
final StackLayout layout = new StackLayout();
shlHello.setLayout( layout );
final StackLayout layout;
...
Shell shlHello = new Shell();
layout = new StackLayout();
shlHello.setLayout( layout );
kgregg wrote:No support contract - we're caught in the never-never land between Instantiations and Google!
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest