Created new StatusBar class and integrated into ClientFramework.
Shows status of network/metacat connection, login status, and SSL status, as 3
icons. Has a text message area to show additional status messages.
Class is actually a singleton - always returns the same shared instance - in
case we ultimately decide to repeat the same status bar in other screens
within morpho (for example, if you're editing a package, you need to know if
you're connected or not so you can see where your edits will be saved)
Also made changes to do the following:
(1) created a thread that polls metacat with a specified time period
(currently 5 seconds - should it be longer??), to determine whether a network
connection/metacat database is available. If not, status bar is updated, and
user is not allowed to attempt to login to metacat (can't open login
dialog).
(2) If network connection is lost during a session, results/package screen is
refreshed to show only local packages, since user no longer has access to
metacat packages." ClientFramework.java
STILL TO DO: (not critical)
a) - If text in text area JLabel is very long, it "pushes" the icons off the
visible area of the screen. Same happens if screen is resized smaller. Need
to either allow JLabel to resize smaller than lenght of text, or truncate part
of text so it doesn't force JLabel to be too wide
b) icons are just "quick & dirty" creations for testing. Need some feedback
on how to change them.