I really had to do this in the last place I worked, you can get around it with complex window events, etc ... as mentioned above, but if you have access to the Java source, just write other access methods that call (i.e., launch the public static void main (String [] args), either through its own call or through the command line.
OR
Java/Delphi TCP/IP XML, ( , , , ).
, , . , JNI Delphi, Delphi 7. , , .
, TCP/IP, , . , , , "myMenuItem.onClick()" , .
http://home.pacifier.com/~mmead/jni/delphi/