A truss analysis in java