Does anybody know any tool that can transform automaticcally a java-program into uml?

Try JUG that seems to be the one that works best for me; most of them out there seem unmaintained though.

Sorry it took me a while to answer,,I checked it out sadly it didn't do the trick for me :/ i need one that also makes the dependency/comppsition etc edges....or at least that exports the classes in <xml> u have anything else in mind?

ok that's quiet better but still can't point out the aggregation and composition edges