< prev index next >

src/java.desktop/macosx/classes/com/apple/eawt/_AppDockIconHandler.java

Print this page

        

*** 33,42 **** --- 33,43 ---- import sun.lwawt.macosx.CImage.Creator; class _AppDockIconHandler { private static native void nativeSetDockMenu(final long cmenu); private static native void nativeSetDockIconImage(final long image); + private static native void nativeSetDockIconProgress(final int value); private static native long nativeGetDockIconImage(); private static native void nativeSetDockIconBadge(final String badge); PopupMenu fDockMenu = null;
*** 91,100 **** --- 92,105 ---- void setDockIconBadge(final String badge) { nativeSetDockIconBadge(badge); } + void setDockIconProgress(int value) { + nativeSetDockIconProgress(value); + } + static Creator getCImageCreator() { try { final Method getCreatorMethod = CImage.class.getDeclaredMethod("getCreator", new Class<?>[] {}); getCreatorMethod.setAccessible(true); return (Creator)getCreatorMethod.invoke(null, new Object[] {});
< prev index next >