I want to make new string to show under the first ("Verificiranje na akauntot !") text but i dont know what to do in the "jLabel3MouseClicked" class, please help me how do i paint the graphic after i press the label ? here is some code:
@Override
public void paint(final Graphics g) {
super.paint(g);
Graphics2D g2 = (Graphics2D) g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
Font font = new Font("Serif", Font.PLAIN, 17);
g2.setFont(font);
g2.setColor(Color.GREEN);
g2.drawString("Verificiranje na akauntot !", 20, 130);
}
private void jLabel3MouseClicked(java.awt.event.MouseEvent evt) {
// what should i do here ?
}