creat proxi object pass osx adapt add applic listen param adapt instanc set handler osx adapt adapt applic com appl eawt applic mac osx applic mac osx applic applic constructor instanc object applic listen com appl eawt applic listen method add listen method applic declar method add applic listen applic listen creat proxi object handler reflect ad appl applic listen object osx adapt proxi proxi proxi instanc osx adapt loader applic listen adapt add listen method invok mac osx applic object osx adapt proxi except cnfe defin log lp log granular type statement log error version mac os doe support appl eawt applic event handl disabl cnfe endif except ex like method except illeg access except load invok eawt applic method defin log lp log granular type statement log error mac os adapt talk eawt endif ex print stack trace 