Community
Participate
Working Groups
Build ID: 3.5-M6 The link widget displays a mnemonic underscore that doesn't work (see code below). Please add the mnemonic behaviour. import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Link; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TestMnemonic { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(2, false)); new Link(shell, SWT.NONE).setText("&Name:"); new Text(shell, SWT.BORDER); new Label(shell, SWT.NONE).setText("&Age:"); new Text(shell, SWT.BORDER); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
*** This bug has been marked as a duplicate of bug 202414 ***