P
patrick
Im trying to create an Image like this:
class A extends JPanel
{
public A()
{
//set up a panel
...
Image im=createImage(50,100);
}
}
creatImage returns null for image when i run it thro debugger.
Any idea what the problem is ??
thanks
patrick
class A extends JPanel
{
public A()
{
//set up a panel
...
Image im=createImage(50,100);
}
}
creatImage returns null for image when i run it thro debugger.
Any idea what the problem is ??
thanks
patrick