You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
This directory contains a test for using a DCOPObject written Java.
|
|
|
|
|
|
|
|
The java DCOP object is in JavaDCOPObject.java
|
|
|
|
The test app is in Test.java
|
|
|
|
|
|
|
|
|
|
|
|
To test it, you should do the following:
|
|
|
|
|
|
|
|
set your CLASSPATH (qtjava.jar & koala.jar)
|
|
|
|
set your LD_LIBRARY_PATH (${TDEDIR}/lib
|
|
|
|
|
|
|
|
compile it (javac *.java)
|
|
|
|
$javac *.java
|
|
|
|
|
|
|
|
run it
|
|
|
|
$java Test
|
|
|
|
|
|
|
|
open kdcop and look voor a program called "JavaTest"
|
|
|
|
open it and the JavaDCOPObjet appears. The JavaDCOPObject contains one
|
|
|
|
operation called myOperation. If you select it and run it, you should see 'test from Java'
|
|
|
|
|
|
|
|
You can quit the java program by calling quit() on the application dcop object! (or just hit ctrl-c)
|
|
|
|
|
|
|
|
|
|
|
|
Note that the JavaDCOPObject implements javaProcess(), interfaces() and functions().
|
|
|
|
These should be generated, but for the timebeing this is done manually.
|
|
|
|
|
|
|
|
|