public void toggleBlowUp() { Rectangle r = this.getBounds(); if (blowUp) { text.setText(contact.toString()); r.grow(0, GROW); this.setBounds(r); this.revalidate(); // this.repaint(); blowUp = false; } else { text.setText(contact.getAHRA() + ""); r.grow(0, -GROW); this.setBounds(r); this.revalidate(); // this.repaint(); blowUp = true; } }