Background: A long time I remember reading about a Java library that was created specifically to handle routine operations on Windows operating systems. It had, for example, native routines for handling things like "shortcut" creation, and all those cute little quirks of windows filepaths.
It was touted as being th开发者_StackOverflow中文版e "missing library" for doing all those windows tasks that were harder than they should be using the standard Java APIs.
Question: That's about all I remember about it, does anyone have a link to help refresh my vague recall?
Are you thinking of WinPack? It's a JNI-based wrapper that provides access to a lot of underlying Windows functionality.
Maybe this is what you refer to: JNA (Java Native Access)?
At a somewhat lower level, there's the JACOB library which allows you to make OLE/COM calls from Java code.
There is also JDIC (JDesktop Integration Components)
JDIC provides Java applications with access to functionalities and facilities provided by the native desktop. It consists of a collection of Java packages and tools. JDIC supports a variety of features such as embedding the native browser, launching the desktop applications, creating tray icons on the desktop, registering file type associations, creating JNLP installer packages, etc.
There does not seem to be a lot of activity in the project lately, however.
精彩评论