Java And Delphi Code