Posted on July 12th, 2005 by HuHe
When use the method of Applet: getImage(), add the applet to a frame, and show a instance of the frame, if run it as application, it will show errors. We can use Toolkit.getImage() to replace Applet.getImage(). Also, the method of applet: getCodeBase() only can be used in applet(because getCodebase() is the URL of the applet [...]
No Comments »
Filed under: Java
Posted on July 11th, 2005 by HuHe
I have succeeded in on PDA using URL(java.net.*) to get the picture from httpserver today.
I try to find some api can make IBM J9 work with MySql. It seems there is not API for J9 to support the JDBC. I check the liberary of J9, found no java.sql.* inside.
Somebody say I can use JDBC Optional [...]
No Comments »
Filed under: Java
Posted on July 8th, 2005 by HuHe
IBM J9 seems not to support Bluetooth API directly, I need to find a good way to support Bluetooth for J9. By far, I only get the information that Avetana Bluetooth software can work with J9 on PDA, but it is not free software.
Somebody say we can use RMI to communicate with Bluetooth port, I [...]
No Comments »
Filed under: Java
Posted on July 7th, 2005 by HuHe
I have a new idea that I want to use apache as the server for my project. The apache server can work as: server for MySql+php, server for Java GUI, server for WebPage.
and I also knew: FileOutputStream is meant for writing streams of raw bytes such as image data, which means I can use FileOutputStream [...]
No Comments »
Filed under: Java
Posted on July 5th, 2005 by HuHe
I try to run the sun’s applet example on my PDA, the example I used it ArcTest which include main function. I found it can not run class directly, like: j9 -cp ArcTest.class,it doesn’t work.. However, it can run jar file, something like: 255#”\Program Files\J9\PPRO10\bin\j9.exe” “-jcl:ppro10″ “-cp” “\applets\ArcTest\arcTest.jar” ArcTest. It does work., but I need [...]
No Comments »
Filed under: Java
Posted on July 2nd, 2005 by HuHe
I have tried many ways to solve the cell editor with popup dialog problem. like: use mouse event listener , ListSelection listener,Focus Listener ,extend a AbstractCellEditor,etc. but these don’t work. I post my question on the Sun forum. I got a similar sample.
Contrast to my prior work, I found I have use the syntax: myJTable.setCellEditor(new [...]
No Comments »
Filed under: Java