Cave 4 - Some Examples
This project is rather open-ended about exactly how you display the
information about which job is running, the creature performing the
job, which artifacts that job is currently holding, and which
artifacts are currently available to the party.
Here are a few sample displays from previous semesters. I post them
as examples you might consider when creating your own GUI display.
To my way of thinking, none of them are perfect, but they are some
of the better ones I have seen.
Perhaps they convey a little of why I think GUI displays of a
multi-threading shared resource application are so important.
- The vertical progress bars are cute.
- Notice that the top panel scrolls mostly left-right rather
- The job log is detailed, but rather hard to get a quick
- Nice use of cards to show the various displays in the central
- Uses JTabbedPane : JTabbedPane
(Java Platform SE 8 )
- Again the use of JTabbedPane
- Also, the data is displayed using JTable
- The colors change as jobs complete and resources are released.
- But this display makes it hard to see which artifacts are
being used by which job, and which artifacts belong to which
- I feel like some effort in grouping this display would make it
REALLY cool - descriptive!
- This example could do with resizing, and JSplitPane to let the
user resize the various panels at run time.
- This particular display shows the resource pools at the bottom
of the screen.
- Here we see an effective presentation of the resources being
used by each creature and each job.
- I had some trouble running this program on my computer, so
this image is from the documentation.
- The display shows the resources available by party really
nicely, but this code doesn't seem to be actually running the
- It seems like the code is not actually giving the artifacts to
the jobs so they can run, even if the artifacts are available.
- Still, the display looks like it could really convey once the
code behind gets to working.
- Resizing could work a lot better - particularly using
JSplitPane's to let the user resize stuff for their display and
the number of jobs.
- Particularly nice use of a table to show the resources by
party, using a JTable.
- The job progress bars are shown in a different frame, but I
don't really think that adds much.
- It would have been just as effective to put the progress bar
panel into this display, with JSplitPane's.