1-) Java - PANEL UZERİNDEKİ DİNAMİK LABELLERİ DEGİSTİR
private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {
Component[] c = jPanel4.getComponents();
for (int i = 0; i < c.length; i++) {
if (c[i].getName() != null) {
if (c[i] instanceof JLabel && c[i].getName().equals("dnmk0")) {
JLabel tmp = (JLabel) c[i];
tmp.setForeground(Color.red);
tmp.setText("ramazan");
} } } }