Check out this post from the 2014 documentation.
http://wpilib.screenstepslive.com/s/...e#!prettyPhoto
I think it will still work. You'll need to create a desktop java program and include the NetworkTables.jar in your project from the <user>/wpilib/java/currrent/lib folder. Then just try that example. I'll give it a try tomorrow with a robot to verify that it works, then move that page into the 2015 documentation.
Be sure to add the library to the Project Properties, Java build path, libraries project settings.