http://qs321.pair.com?node_id=917162


in reply to Rendering a simple graphic hello world in Java (using Perl)

I would suggest checking out the documentation for JOptionPane. If you'll look, you'll see that JOptionPane has a required first argument which specifies a parent frame - if you pass it a null, I think this should work. It's been roughly FOREVER since I did any Java, so check it for yourself.

Docs appear to be here, based on lazy googling. http://download.oracle.com/javase/1.4.2/docs/api/javax/swing/JOptionPane.html

for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Replies are listed 'Best First'.
Re^2: Rendering a simple graphic hello world in Java (using Perl)
by Anonymous Monk on Jul 28, 2011 at 07:00 UTC

    That sounds good

    nil means null :)

    (javax.swing.JOptionPane/showMessageDialog nil "Hello World")

Re^2: Rendering a simple graphic hello world in Java (using Perl)
by metaperl (Curate) on Jul 28, 2011 at 17:49 UTC