Changeset 4535 in josm for trunk/src/org
- Timestamp:
- 2011-10-21T19:59:12+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r4203 r4535 30 30 // Here we register callbacks for the menu entries in the system menu 31 31 try { 32 Class Ccom_apple_eawt_Application = Class.forName("com.apple.eawt.Application"); 32 Class<?> Ccom_apple_eawt_Application = Class.forName("com.apple.eawt.Application"); 33 33 Object Ocom_apple_eawt_Application = Ccom_apple_eawt_Application.getConstructor((Class[])null).newInstance((Object[])null); 34 Class Ccom_apple_eawt_ApplicationListener = Class.forName("com.apple.eawt.ApplicationListener"); 34 Class<?> Ccom_apple_eawt_ApplicationListener = Class.forName("com.apple.eawt.ApplicationListener"); 35 35 Method MaddApplicationListener = Ccom_apple_eawt_Application.getDeclaredMethod("addApplicationListener", new Class[] { Ccom_apple_eawt_ApplicationListener }); 36 36 Object Oproxy = Proxy.newProxyInstance(PlatformHookOsx.class.getClassLoader(), new Class[] { Ccom_apple_eawt_ApplicationListener }, ivhandler);
Note:
See TracChangeset
for help on using the changeset viewer.