⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jawt.php

📁 php-4.4.7学习linux时下载的源代码
💻 PHP
字号:
<?  // This example is only intented to be run as a CGI.  $frame = new Java("java.awt.Frame", "Zend");  $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->sleep(10000);  $frame->dispose();  // Odd behavior noted with Sun JVMs:  //  //   1) $thread->destroy() will fail with a NoSuchMethodError exception.  //   2) The call to (*jvm)->DestroyJVM(jvm) made when PHP terminates  //      will hang, unless _BOTH_ the calls to pack and setVisible above  //      are removed.  //  //  Even more odd: both effects are seen with a 100% Java implementation  //  of the above!?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -