Your problem lies here:
sdConfig8.setIcon(new javax.swing.ImageIcon("C:\\filepath\\mycangui\\off .gif"));
Firstly, not all directories are described by the backslash operator. To make your directory references independent of the operating system that you are running on, use File.seperator. Secondly, the image will not be loaded because it does not automatically exist on the other machine's hard drive at that location. (unless you put it there) It is safer to use file names that are relative to the directory of your application. For example:
ImageIcon icon = new ImageIcon("data" + File.seperator + "off .gif");
I assume that you intended the space in "off .gif".
Inside your application's directory folder, you could have another folder called "data" with the image in there.
