Pure Java graphic data structures