|
Swing
components are only drawings (lightweight components). This is done for many
reasons, efficiency and pluggable look and feel being
some.
The
best way I know of to get at Java from Win32 is to use J-Integra (see http://www.linar.com/) to expose Java
classes as COM objects, although this will not give you access to the Windows
Message API, it'll just provide a path from Win32 (Delphi) to Java code. Delphi
has excellent COM support, so this may be of some use.
If
you're dead set on hacking the interaction between Win32 and Java using Windows
message then you'll only be able to do it using AWT components, since they are
heavyweight (ie real Win32 components). I wouldn't recommend this - you stand a
good chance of getting unexpected behaviour and maybe even crashing the JVM. The
J-Integra route would be a much cleaner solution, although admittedly a bit more
work.
|
- Windows Laurent
- RE: Windows Tim Gordon
- RE: Windows Steve Barrett
- RE: Windows Paul Brinkley
- RE: Windows Tim Gordon
- Re: Windows Laurent
