String msg = "a&b";
Label label = new Label(comp, SWT.NONE);
label.setText(msg);
没有显示出&符号。换成&&即可
String msg = "a&&b";
Label label = new Label(comp, SWT.NONE);
label.setText(msg);
String msg = "a&b";
Label label = new Label(comp, SWT.NONE);
label.setText(msg);
没有显示出&符号。换成&&即可
String msg = "a&&b";
Label label = new Label(comp, SWT.NONE);
label.setText(msg);

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