Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by metaperl (Curate)
on Jul 27, 2011 at 21:24 UTC ( [id://917139]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (javax.swing.JOptionPane/showMessageDialog nil "Hello World")
    
  2. or download this
    use Inline (
      Java => 'STUDY',
    ...
    );
    
    javax::swing::JOptionPane->showMessageDialog("Hello World");
    
  3. or download this
    In method showMessageDialog of class javax::swing::JOptionPane: Can't 
    +find any signature that matches the arguments passed (Hello World).
    Available signatures are:
    ...
            error was: Wrong number of arguments at C:/strawberry/perl/sit
    +e/lib/Inline/Java/Object.pm line 107
        static showMessageDialog(java.awt.Component, java.lang.Object)
            error was: Wrong number of arguments at C:/strawberry/perl/sit
    +e/lib/Inline/Java/Object.pm line 107 at C:\Users\thequietcenter\prg\t
    +mp\inline\try2.pl line 6
    
  4. or download this
    package start;
    
    ...
            });
        }
    }
    
  5. or download this
    use Inline (
      Java => 'STUDY',
    ...
    $f->getContentPane->add($l);
    $f->pack;
    #$f->setVisible
    
  6. or download this
    Can't call method 'add' on an object (Inline::Java::Object) that is
    not bound to Perl at C:\Users\thequietcenter\prg\tmp\inline\try2.pl
    line 13
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://917139]
Approved by Tanktalus
Front-paged by Tanktalus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found