GUI components of a memory game

后端 未结 1 1656
生来不讨喜
生来不讨喜 2021-01-21 01:58

I am working on a homework so i am not asking for code, i am trying to make this by myself. by the way, i am stuck again with the GUI part and have little problems with code par

相关标签:
1条回答
  • 2021-01-21 02:38

    I'd start with How to Use Buttons. JToggleButton works well for this, as you can change the Icon in an ItemListener based on the button's selected state. Examples may be found here and here.

    0 讨论(0)
提交回复
热议问题