Java mostrar diálogo de erro
JFrame frame = new JFrame();
JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.");
Inquisitive Iguana
JFrame frame = new JFrame();
JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.");