Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Rendering a simple graphic hello world in Java (using Perl)

by pobocks (Chaplain)
on Jul 28, 2011 at 01:49 UTC ( #917162=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://917162]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-08-15 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?