There are several ways to interact between Java and Windows. Sorted by strength and difficulty:
- You can use Jawin to handle window messages — it even has a demonstration of how to process messages in a window — or something similar. Of course, if you link your Java program to a library such as Jawin, it will never run on a machine other than Windows.
- Win32 Java, - , localhost. , . , , .
- () -, . , Webservice/XML , XML, .
- Windows COM Java-to-COM: Jacob j-Interop libaries , j-Integra .
- Java COM Sun Java-ActiveX. : Java-ActiveX 1.4, ActiveX Java - JRE Java ActiveX .
Sidenote:, , , Java -. , Windows ANSI, , 81, 8D, 8F, 90 9D undefined Windows-1252, Java , Windows . , , WChar Windows .