Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Robrt (1414)

  (email not shown publicly)

robert at perl dot org

Journal of Robrt (1414)

Tuesday October 14, 2003
08:46 PM


[ #15211 ]

I'm not a Java fan. Not even close. But there are some cool things written in it. Touchgraph is one of those cool things.

Even cooler, is using it from perl:

use Inline (
Java => 'STUDY',
STUDY => ['javax.swing.JFrame',

my $frame = new javax::swing::JFrame("foo");
my $glp = com::touchgraph::graphlayout::GLPanel->new();
my $tgp = $glp->getTGPanel();

my $n1 = $tgp->addNode();

my $n2 = $tgp->addNode();

my $e12 = $tgp->addEdge($n1,$n2,100);

print "looping\n";
while (1) {};

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.