question: public boolean displayPopup ( ) { if ( m_popupClass == null ) return false ; try { Window win = SwingUtilities . getWindowAncestor ( this ) ; CFieldPopup popup = null ; if ( win instanceof Dialog ) { Constructor < ? > constructor = m_popupClass . getConstructor ( new Class < ? > [ ] { Dialog . class , String . class , Boolean . class } ) ; popup = ( CFieldPopup ) constructor . newInstance ( new Object [ ] { ( Dialog ) win , m_title , new Boolean ( true ) } ) ; } else if ( win instanceof Frame ) { Constructor < ? > constructor = m_popupClass . getConstructor ( new Class [ ] { Frame . class , String . class , Boolean . class } ) ; popup = ( CFieldPopup ) constructor . newInstance ( new Object [ ] { ( Frame ) win , m_title , new Boolean ( true ) } ) ; } if ( popup == null ) return false ; popup . setValue ( m_editor . getItem ( ) ) ; popup . setFormat ( m_editor . getFormat ( ) ) ; popup . show ( ) ; m_editor . setItem ( popup . getValue ( ) ) ; popup = null ; } catch ( Exception e ) { notifyUser ( e ) ; } return false ; }
target:  Display Popup. Called from AdempiereComboPopup and allows to implement alternative actions than showing the popup