Swing movement

I would like to implement the playing field in a swing (there should be a table, albeit about jtable or gridlayout , etc.), where I can drag the image into this game and all the cells that the image falls on will receive a notification that they have been selected.

Can anyone help with this? how can I get a couple of cells in a table, know that an object has been deleted on them?

+6
source share
3 answers

Check out this tutorial .

+7
source

I think you should spend some time on Google. I found the following with some time with google.

Hope this helps :)

+7
source

Read this, and if you have more specific questions and ask them.

0
source

Source: https://habr.com/ru/post/904085/


All Articles