Feliz o triste

"Feliz o triste (con imagen de caras)"


import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

@SuppressWarnings("serial")
public class felizotriste extends JFrame implements ActionListener {
private JButton botonfeliz, botontriste;
private JPanel panel;
private ImageIcon imagenfeliz, imagentriste;

    public static void main(String[] args) {
felizotriste demo=new felizotriste();
demo.setSize(180,180);
demo.setTitle("imagen");
demo.crearGUI();
demo.setVisible(true); }



Leer más: https://cms.eduardo-lemb7.webnode.mx/practicas/
Crea tu propia web gratis: https://www.webnode.es

Contacto

EDUARDO LEMB EDUARDO MEDINA BECERRA
3º "C"
"PROGRAMACION ESTRUCTURADA"
5542517616 whats Apps eduardo-m-b@hotmail.com