samedi 28 février 2015

Overlapping issue in Swing



I'm encountering this issue in Java Swing:


Image of the problem


Both Magenta and Green components are JButtons. I'm using absolute layout for this. When hovering to Green, it overlaps Magenta even if no layout manager is applied nor JLayeredPane used.


Any reason for this behavior? How can I make sure the Magenta stays on top when hovering to Green?




Aucun commentaire:

Enregistrer un commentaire