You need to write a method that, when you click on JPanel, first write to a variable unit, when pressed again, record 0, again, write one again, and so on ... Help to implement)
- oneYour question fully describes the algorithm of actions. What you can not do? - ReinRaus
- The algorithm is described, but I ask for help in the syntax itself, I do not know with what tools to implement it - Artyom Gribkov
|