2
我正在使用org.eclipse.swt.widgets.Button
和setText
方法。按钮setText不显示'&'
我做的,
myButton.setText("A & B");
但是,不显示&
符号。
我都试过了,
myButton.setText("A \\& B");
myButton.setText("A '&' B");
myButton.setText("A \& B"); \\not allowed
和他们没有工作。