The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Frame that run like Applet?

Posted by Tuan Pham on January 21, 2001 at 9:04 PM

Have you ever look at the GraphLayout demo applet at Sun page:
http://java.sun.com/applets/jdk/1.1/demo/GraphLayout/example1.html
In that page you've got a applet that layouts a graph by (possibly)
a string embedder algorithm. The point is the applet is running
(continually repaint while calculating its components' coordinate).

I would like to have the same behaviour in a stand-alone JFrame
application. Could any one suggest me how or point me to the
right resource on the web?
Thanx.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us