public void show() { wizard.setTitle(MessageText.getString("beta.wizard.intro.title")); wizard.setCurrentInfo(""); wizard.setPreviousEnabled(false); wizard.setNextEnabled(false); wizard.setFinishEnabled(true); Composite rootPanel = wizard.getPanel(); GridLayout layout = new GridLayout(); layout.numColumns = 1; rootPanel.setLayout(layout); Label info_label = new Label(rootPanel, SWT.WRAP); GridData gridData = new GridData(GridData.FILL_HORIZONTAL); info_label.setLayoutData(gridData); info_label.setText(MessageText.getString("beta.wizard.info")); LinkLabel link = new LinkLabel(rootPanel, "beta.wizard.link", MessageText.getString("beta.wizard.link.url")); Label link_label = link.getlabel(); gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.verticalIndent = 10; link_label.setLayoutData(gridData); final Composite gRadio = new Composite(rootPanel, SWT.NULL); gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.verticalIndent = 10; gRadio.setLayoutData(gridData); layout = new GridLayout(); layout.numColumns = 1; gRadio.setLayout(layout); Button off_button = new Button(gRadio, SWT.RADIO); Messages.setLanguageText(off_button, "beta.wizard.off"); final Button on_button = new Button(gRadio, SWT.RADIO); Messages.setLanguageText(on_button, "beta.wizard.on"); SelectionAdapter l = new SelectionAdapter() { public void widgetSelected(SelectionEvent arg0) { wizard.setBetaEnabled(on_button.getSelection()); } }; off_button.addSelectionListener(l); on_button.addSelectionListener(l); on_button.setSelection(wizard.getBetaEnabled()); off_button.setSelection(!wizard.getBetaEnabled()); LinkLabel forum = new LinkLabel( rootPanel, "beta.wizard.forum", MessageText.getString("beta.wizard.forum.url")); Label forum_label = link.getlabel(); gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.verticalIndent = 10; forum_label.setLayoutData(gridData); Label version_label = new Label(rootPanel, SWT.WRAP); gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.verticalIndent = 10; version_label.setLayoutData(gridData); version_label.setText( MessageText.getString("beta.wizard.version", new String[] {Constants.AZUREUS_VERSION})); }