I have a frame, I added a panel (panelA) within it with gridlayout and I further added multiple panels within the panelA like :
[] [] [] []
[] [] [] []
[] [] [] []
The [] brackets above signify the multiple panels. I need to add different jpg images to these panels. Images switch position upon user click on the panel.
I tried to make a class ImagePanel and used it to create objects of that type but it still do not work out. The ImagePanel class code is as below:
I got success achieving the panel layout like grid style, but still having problems with loading images onto the panel. Thanks in advance for your help.
[ June 25, 2008: Message edited by: S. Shree ]