QUOTE
As you have asked me , I am uploading all my coding.
Thanks in advance.
Here's your new code bro..I've added a simple snippet.. it now works..
CODE
import javax.swing.JFrame;
import javax.swing.Icon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.ImageIcon.*;
import javax.swing.border.*;
import java.awt.*;
import javax.swing.*;
import java.io.*;
import java.net.URL;
class jumpAbout extends JFrame
{
public jumpAbout()
{
super("Project");
JPanel mjp =new JPanel(){
ImageIcon backImage = createImageIcon("resources/whitebg.jpg");//***image is not showing***
Image image = backImage.getImage();
{setOpaque(false);}
//Override
public void paintComponent (Graphics g) {
g.drawImage(image, 0, 0, this);
super.paintComponent(g);
}
}; //main pannel for info
mjp.setLayout(new BorderLayout());
mjp.add(new JLabel(createImageIcon("resources/about.gif")),BorderLayout.WEST); //***image is not showing***
JLabel info = new JLabel("project",JLabel.CENTER);
info.setFont(new Font("Serif", Font.BOLD, 14));
info.setForeground(Color.RED);
mjp.add(info,BorderLayout.CENTER);
add(mjp);
}
protected ImageIcon createImageIcon(String path) {
ImageIcon tempImg;
URL imgURL = getClass().getResource(path);
tempImg = (imgURL != null) ? new ImageIcon(imgURL): null;
return tempImg;
}
}

... I've added a simple method..

directory must be:
1. src
1.1 resources
QUOTE
In the case of Eclipse (and may be JCreator is the same that is why I posted this reply) you cannot just copy a file (image, source, data) into one of the folder because the "project manager" won't be informed of this new file.
In my IDE I just copy/paste my resources, classes, from directory into another directory.. and it works fine.. my IDE spoils me..

lmao
This post has been edited by mensahero: 12 Jun, 2008 - 05:03 PM