I have a JCheckBox
on top of an image, but whenever repaint()
is called the JCheckBox
disappears. If I click on the position where it initially was it becomes visible again.
I've tried setting it to setVisible(true)
on every repaint but that didn't work.
Does anyone know how I can fix this?