Is there a method in Java to make a string appear in GUI while blinking? I am writing a program and I need the string below to display while blinking. Thanks.
g.setColor(Color.RED);
g.setFont(new Font("Serif", Font.BOLD, 30));
g.drawString("Game Over!!! Score: " + score, 190, 300);