- Introduction | Development
|Tip: Also try out Rocweb.|
The Java based client for Rocrail.
(Support Key needed.)
RocJ is a Java 5+ Rocrail client targeted to MIDs and Pads.
This client is track plan oriented and can be controlled with just a one (left)button mouse or touch screen.
It does not feature an application menu; All actions are context sensitive.
RocJ is a goody for those who have a valid support key installed on the server:
RocJ can be started directly with Java Web Start:
- Works with all Command Stations supported by Rocrail
- List up all available Rocrail servers.
- Touch screen support
- System monitor
- List with all ZLevels
- Block status color
- Fiddle Yard
- Turntable / Traverser
- Staging block
- Module view
- SpDrS60 symbols only
- Block actions:
- Go with schedule
- Go to block
- Dispatch for throttle
- System actions:
- Auto mode
- Image caching
- Images in blocks
- All defined functions
RocJ will use the selected device language if available. It defaults to English.
Add or edit your own language at LaunchPad:
Translations at LaunchPad: https://translations.launchpad.net/rocrail/rocj/+pots/rocj
Download the latest snapshot of RocJ here:
java -jar rocj.jar
Images are searched in the images directory in the working directory of RocJ; The location where RocJ is started.
- #1 = Accessory number
- #2 = Orientation:
The image size should be a multiple of 32 in width and height.
- The clock is synchronized with the server.
- At divider values above 10 the second hand will not be rendered.
- 12 Functions with LED
- Tooltips on function buttons (138)
- Loco selection by image
- Emergency break
Add following two lines in the rocj.ini:
|speak4block||Comma separated list of block ID's|
|speakcmd||Speak command; Can also be a script.|
Check the plan if it is XML well formed with a tool like "XmlSpy".
Or use the W3C service: http://validator.w3.org/#validate_by_upload
Rocrail and Rocview are using the Rocs parser which is not so strict as the Java one.