public void showPropertyDialog(){
  if (m_Editor.getValue() != null) {
    if (m_PD == null) {
      int x=getLocationOnScreen().x;
      int y=getLocationOnScreen().y;
      if (PropertyDialog.getParentDialog(this) != null)       m_PD=new PropertyDialog(PropertyDialog.getParentDialog(this),m_Editor,x,y);
 else       m_PD=new PropertyDialog(PropertyDialog.getParentFrame(this),m_Editor,x,y);
      m_PD.setVisible(true);
    }
 else {
      m_PD.setVisible(true);
    }
    m_Editor.setValue(m_Editor.getValue());
  }
}

public void showPropertyDialog ( ) { if ( m_Editor . getValue ( ) != null ) { if ( m_PD == null ) { int x = getLocationOnScreen ( ) . x ; int y = getLocationOnScreen ( ) . y ; if ( PropertyDialog . getParentDialog ( this ) != null ) m_PD = new PropertyDialog ( PropertyDialog . getParentDialog ( this ) , m_Editor , x , y ) ; else m_PD = new PropertyDialog ( PropertyDialog . getParentFrame ( this ) , m_Editor , x , y ) ; m_PD . setVisible ( true ) ; } else { m_PD . setVisible ( true ) ; } m_Editor . setValue ( m_Editor . getValue ( ) ) ; } }
displays the property edit dialog for the panel .
