无论如何设置一个id为JButton.我已经习惯了Android.
JButton
我正在寻找以下内容:
newButton.setId(objectcounter);
java swing jbutton
java ×1
jbutton ×1
swing ×1