Reset « JLabel « Java Swing Q&A





1. Java - How to reset JLabel constraints after initializing it?    stackoverflow.com

I initialize a JLabel in Java frame like this :

contentPane.add(myLabel, cc.xywh(1, 1, 31, 6, CellConstraints.DEFAULT, CellConstraints.BOTTOM));
But before showing the JFrame i make a small condition which if returns true i want ...