Image on Swing JSplitPane

Hi @ll!

I would like to put a JPG image into a SplitPane Frame, the code of the split is:

JSplitPane outerPane =new JSplitPane(JSplitPane.VERTICAL_SPLIT, innerPane, image);

where innerPane is another SplitPane, horizontal, and "image" is the image object. Question: how I can create an object image in this JSplitPane?

Lot of Thanks,

Bye bye

hawake

P.S. Sorry but my english is very poor!

[471 byte] By [hawakea] at [2007-11-26 17:15:26]
# 1
new JLabel(new ImageIcon("image_file"));
duckbilla at 2007-7-8 23:43:26 > top of Java-index,Java Essentials,New To Java...
# 2
Maaaanyyyy Thaaaaaaaaaanksssssssssssssssssssssssssss!Bye byehawake
hawakea at 2007-7-8 23:43:26 > top of Java-index,Java Essentials,New To Java...