If its for a class, or are just playing around you might want to try out BlueJ. It's a UML design tool that creates Java code, but doesn't turn Java to UML that I know of.
It was created for a Uni class, and there are lots of downloadable papers. It's a Java App = cross platform, and all...