N
Netlopa
Hello,
I'm creating a project for the university and I have currently a problem.
I created a JPanel that contains within it an array of (x * y) JLabel (which
by the method setIcon are just pictures and have nothing to text).
Now I want to create pieces, which are expected to move around the board,
but I find myself with a problem of "top".
In practice, the pieces are hidden from the board itself (JLabel array) and
then you can not see.
Then, I could not find any method that allows to switch JPanel (or just the
array of JLabel) into the background so as not to hide the pieces (which
should be set as in the first stage).
Someone can enlighten me
Thank you,
netlopa
I'm creating a project for the university and I have currently a problem.
I created a JPanel that contains within it an array of (x * y) JLabel (which
by the method setIcon are just pictures and have nothing to text).
Now I want to create pieces, which are expected to move around the board,
but I find myself with a problem of "top".
In practice, the pieces are hidden from the board itself (JLabel array) and
then you can not see.
Then, I could not find any method that allows to switch JPanel (or just the
array of JLabel) into the background so as not to hide the pieces (which
should be set as in the first stage).
Someone can enlighten me
Thank you,
netlopa