RocJ -A Java Client-

Java Swing Client

Postby jeanmichel » 12.06.2010, 15:38

Hi Ronald,

thanks! I'll think about it ...

Rob: great!

BR
Jean-Michel
jeanmichel
 

Postby ron&bram » 13.06.2010, 20:20

"With a little help from my friends"

RocJ now also shows my own layout (thanks Rob). Version 68. The "holes" on the MID are decouplers.

@Rob: power on/off only switches the first command station.

Best regards, Ronald
You do not have the required permissions to view the files attached to this post.
Last edited by ron&bram on 13.06.2010, 21:23, edited 1 time in total.
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 13.06.2010, 20:53

Hi Ronald,

revision 75 should handle all shortcomings.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 13.06.2010, 21:29

Hi Rob,

Normally I would have updated before taking the picture and so on, but I found a drawback of the mid. The real layout is two floors and three solid concrete walls away from the router (whereas the test pc with the virtual command station is in the same room). The Rocrail laptop for the real layout barely manages to build up a connection to the router, the MID's wifi is just not strong enough. The laptop has two wifi cards, so I use a point to point connection between the Rocrail server and the MID, but the drawback is that the MID has no internet access when it is at the layout. That's why I used version 68. Nevertheless I am amazed about what you achieved in such a short time.
Are you planning on releasing the sources in Launchpad?

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 14.06.2010, 06:04

Hi Ronald,

the sources are available at LP:
http://wiki.rocrail.net/doku.php?id=rocj-dev-en
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 15.06.2010, 16:13

Revision 82 with Loco pics:

Image

The block pics are optional and must be activated by the option menu.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 15.06.2010, 16:17

Also all defined loco functions are available:

Image
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 15.06.2010, 20:10

RocJ 82 on the MID, in front of the laptop. Tiny remark: the decouplers are rotated 90 degrees. Big remark: I love the "show picture in block" option, really superb (Rocview wishlist??).

Best regards, Ronald
You do not have the required permissions to view the files attached to this post.
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 15.06.2010, 20:49

Hi Ronald,

the naming of the decoupler is corrected in 83.

Have fun. ;-)
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby mserrano » 16.06.2010, 19:10

Hi,

I have been trying to run rocj just for fun. I was assuming it should be able to run in any device with a java6 vm, but I keep getting an exception when trying to run it on ubuntu or windows (7 and xp). I have tried to run the server also in different machines (ubuntu and windows 7 and XP), and always with the same result.

I have the feeling I am missing something quite basic... but I don't know what :roll:

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Rocrail version: 1667
rocj version 85

And here is the output:
Code: Select all
RocJ
L&F: Metal
L&F: Nimbus
multicast send...
<netreq req="clientconn"/>
multicast receive...
<netreq req="clientconn"/>
multicast receive...
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at net.rocrail.rocj.dialogs.ConnectDlg.<init>(ConnectDlg.java:84)
        at net.rocrail.rocj.RocJ.ConnectDialog(RocJ.java:217)
        at net.rocrail.rocj.RocJ$1.run(RocJ.java:122)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Receive timed out


I get the windows but no connection dialogue... when I try to connect with the left button dialogue... I get a new exception

As I said, probably I am missing something basic... any help?
Thanks
mserrano
 

Postby rjversluis » 16.06.2010, 20:05

Hi,

this happens when no rocj.ini is found.
I fixed it in rev. 85:

https://launchpad.net/rocrail/snapshot/snapshot/
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby mserrano » 16.06.2010, 20:28

Thanks :)

Really nice
mserrano
 

Postby rjversluis » 17.06.2010, 06:23

mserrano wrote:Thanks :)

Really nice


Screenshot? :-)
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 18.06.2010, 16:02

Check revision 98 for the latest translations and a new added StatusBar:
https://launchpad.net/rocrail/snapshot/snapshot/
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 18.06.2010, 17:27

Here a picture of RocJ with activated status bar:

Image

The symbols will disappear if they are no longer ON.

Symbols from left to right:
Power, Auto mode, Connected
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

PreviousNext

Return to RocJ

cron