This is my attempt at assignment 3 and creating a series of boxes, with labels, from an XML document. Each box has a series of variables that determine where on the screen it will be in relation to the others. They always have a boundary of pixels around them so they won’t touch and an offset to make the text in the center of the box. Each box in the XML document has another set of boxes and list of variables that are suppose to happen when it is clicked, to give it another set of objects. I currently haven’t added the mouse interactivity to the program as I don’t quite know how to make it select just a single area. Below is an image of what the program looks like:
If you have any thoughts, comments, or help it would be greatly appreciated.