summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/dcop/README
blob: 1fb7fac706137706166f9034bda89f4f21a19f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.