Check for null before adding property change listener to panel. For some reason all this code which hadn't changes started breaking there.
Fix for bug 2768798 - A Whole Mess of NPEs.
Authored by: jimwinston 2009-04-16
Parent: [r441]
Child: [r443]