This applet draws a Hasse (tree) diagram of all the divisors of a positive integer. This version pops up a separate window to display the diagram. The window can be scrolled and resized to display more of the diagram if needed. This window pops up as soon as the page is loaded.

There are various applet parameters to adjust colors, font data, the initial example and whether or not the diagram is in a separate window.

There is also another version that displays the diagram on the current page, so the diagram can only be scrolled, but not resized except by changing the HTML. This version can be seen here.

Comments? Thanks.