Hi guys, sorry for late replay 
cylab the code is the same in the page you mentioned early in your replay , that is :
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import javax.swing.ImageIcon;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
public class ImageViewer extends JFrame implements ActionListener {
public ImageViewer() {
setTitle(“ImageViewer”);
setSize(300, 400);
JMenuBar mbar = new JMenuBar();
JMenu m = new JMenu("File");
openItem = new JMenuItem("Open");
openItem.addActionListener(this);
m.add(openItem);
exitItem = new JMenuItem("Exit");
exitItem.addActionListener(this);
m.add(exitItem);
mbar.add(m);
setJMenuBar(mbar);
label = new JLabel();
Container contentPane = getContentPane();
contentPane.add(label, "Center");
}
public void actionPerformed(ActionEvent evt) {
Object source = evt.getSource();
if (source == openItem) {
JFileChooser chooser = new JFileChooser();
chooser.setCurrentDirectory(new File("."));
chooser.setFileFilter(new javax.swing.filechooser.FileFilter() {
public boolean accept(File f) {
return f.getName().toLowerCase().endsWith(".gif")
|| f.isDirectory();
}
public String getDescription() {
return "GIF Images";
}
});
int r = chooser.showOpenDialog(this);
if (r == JFileChooser.APPROVE_OPTION) {
String name = chooser.getSelectedFile().getName();
label.setIcon(new ImageIcon(name));
}
} else if (source == exitItem)
System.exit(0);
}
public static void main(String[] args) {
JFrame frame = new ImageViewer();
frame.show();
}
private JLabel label;
private JMenuItem openItem;
private JMenuItem exitItem;
}
and yes ReBirth , the code already hve the JFileChooser method , I was considering getImage() as an alternative way because the above code didn’t work .
cylab I don’t think my system specifications effect, because … i am trying it on three different systems , both in software and hardware specifictions ( 2 of them are windows and one is linux)
now I am trying to compile this source code in my eclipse compiler ( i use both netbeans and eclipse , but chose eclipse here because the website mentioned so :
http://www.eclipse.org/articles/Article-Image-Viewer/imageviewer.zip
when I tryed to compile it , I got around 100 erors
… most of type: unable to resolve type .
I kept searching for solution and it mentioned that you need to update a class path , I didn’t know how to do it … I didn’t find any … straight ahead precidure .
I’m really newbie 
one other very usefull example mentioned in that eclipse website is “image analyzer” source code zipped file , but didn’t know how to download it , it is mentioned there , but no link that I could find
thanks guys your help is really appriciated .