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.
tdebindings/kdejava/koala/test/dcop
Timothy Pearson 9ba0474277
Initial TQt conversion
13 years ago
..
JavaDCOPObject.java Initial TQt conversion 13 years ago
README Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Test.java Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago

README

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 (${KDEDIR}/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.