By looking at the help files in cafe duet, you can see IButtonListener(under com.amx.duet.core.master.netlinx). I think you can handle button event with this listener. However, it seems that it is more complicated to write Button Event in Duet than in NetLinx
Comments
The possibilities of java are great, as I think! You don't even _need_ mainlines ;-)