> I tried to cnage the icon image of my JFrame on a next way:
>
[quoted text clipped - 6 lines]
> but, unfortunatelly, I didn't succeed. Java logo is still in a left
> corner of my frame.
That should work, assuming the image file actually exists and is in the
right place. The Toolkit getImage() method will try to load an image from
a file, relative to the current working directory, so "myLogo.jpg" should
be in the "pictures" subdirectory of the directory from which you run your
program.
Unless you need to give the user the ability to customize the image, you
should probably include it with your code, typically in a JAR file with
your classes. To load an image from there, you could use the following
code instead:
URL url = MyClass.class.getResource( "myLogo.jpg" );
myPicture = Toolkit.getDefaultToolkit.getImage( url );
In that case, the image file would be placed in the same location as the
"MyClass.class" file.

Signature
Regards,
John McGrath