so how can i resolve this either i should have to keep exit.png in my locale and give the exact path of exit.png
Type: Posts; User: dgksharma
so how can i resolve this either i should have to keep exit.png in my locale and give the exact path of exit.png
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JMenu;...
Hi All,
I am new to swing when i tried to run one swing example it gives error like
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException