文字列で変数を使用したいのですが、方法がわかりません。
これが私のコードです:
private AbstractAction tester = new AbstractAction("test love match") {
@Override
public void actionPerformed(ActionEvent arg0) {
match.setText("text \n text (VARIABLE) text \n text"); // <--
}
};