note 72451 added to ref.java

From: Date: Fri, 19 Jan 2007 09:30:43 +0000
Subject: note 72451 added to ref.java
Groups: php.notes 
Request: Send a blank email to php-notes+get-121913@lists.php.net to get a copy of this message
I wrote simple code with java integration. But how i can attach onclick event to my button? How to attach actionListener interface?.... <?php $frame = new Java('java.awt.Frame', 'PHP'); $button = new Java('java.awt.Button', 'Hello Java World!'); $frame->add('North', $button); $frame->validate(); $frame->pack(); $frame->visible = True; $thread = new Java('java.lang.Thread'); $thread->run(); $thread->sleep(10000); $frame->dispose(); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 91.124.158.154 ---- Manual Page -- http://www.php.net/manual/en/ref.java.php Edit -- https://master.php.net/note/edit/72451 Del: integrated -- https://master.php.net/note/delete/72451/integrated Del: useless -- https://master.php.net/note/delete/72451/useless Del: bad code -- https://master.php.net/note/delete/72451/bad+code Del: spam -- https://master.php.net/note/delete/72451/spam Del: non-english -- https://master.php.net/note/delete/72451/non-english Del: in docs -- https://master.php.net/note/delete/72451/in+docs Del: other reasons-- https://master.php.net/note/delete/72451 Reject -- https://master.php.net/note/reject/72451 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121913) next »