Java adding ImageIcon to JLabel
ImageIcon image;
image = new ImageIcon(C:/Users/Delfi/Desktop/data4.png);
jlabel1.setIcon(image);
How to use getClass().getResource() method
ImageIcon image;
image = new ImageIcon(getClass().getResource("/Imagenes/data4.png"));
jlabel1.setIcon(image);
Remove an icon on a JLabel
jlabel1.setIcon(null)
in the event handler that handles the button click, if you're using Swing.
Configuración de NAT en Core Linux con iptables
-
*Config de NAT con iptables*
stop client dhcp
/etc/init.d/services/dhcp stop
Configure Eth0 (WAN)
$ sudo ifconfig eth0 10.1.100.33 netmask 255.255.255.0...
Hace 3 años
No hay comentarios:
Publicar un comentario