Well, about ur question of how to repaint he mainFrame, I don't know how to make
it using event listener, but I have a work around for that problem.
Try the following:
1. pass a refrence to the mainFrame while opening the propertyFrame.
2. make an action listener in the propertyFrame that will invoke a method in the
mainFrame using the refrence to repaint the mainFrame on property change..