added a bunch of java doc. panels now switch correctly