how can I develop Apple Java Extensions on Windows?

前端 未结 5 2031
时光说笑
时光说笑 2020-12-17 18:31

When I do multi-platform testing on Windows it gets annoying that Eclipse shows errors in the project because of the com.apple.eawt code that I have in a special Mac customi

5条回答
  •  死守一世寂寞
    2020-12-17 19:21

    This looks like it could be what you're after: http://developer.apple.com/mac/library/samplecode/AppleJavaExtensions/

    This is a pluggable jar of stub classes representing the new Apple eAWT and eIO APIs for Java 1.4 on Mac OS X. The purpose of these stubs is to allow for compilation of eAWT- or eIO-referencing code on platforms other than Mac OS X.

提交回复
热议问题