Hi, im in trouble with creating jLabels when a button is clicked. Im working with Netbeans and i need to create and display a jLabel,everytime a "ADD" button is clicked. ive ried Lumps of code but nothing gets me there. i dont see any label in my jframe
Yet another reason why DnD style IDE/tools should be avoided like a plague.
On a more conceptual level, whenever you add/remove components to an existing (visible) UI, you need to call a revalidate() and repaint().