Possible Duplicate:
Using a java class from Delphi
I wrote a program in Delphi 5 years ago and I am now revisiting it. Is it possible to write a class in Java and then use it as a component in the Delphi 5 program? If so what is the best way to approach the problem?