This should be as simple as checking for a 401 Not Authorized code and prompting the user to login.
It may be prudent to refactor LoginPanel to be a dialog that could pop up at any time. This would allow us to fix #8 simply by not using conditional logic to show different panels (and thereby not requiring us to destroy all child components in a login status change).
This should be as simple as checking for a 401 Not Authorized code and prompting the user to login.
It may be prudent to refactor LoginPanel to be a dialog that could pop up at any time. This would allow us to fix #8 simply by not using conditional logic to show different panels (and thereby not requiring us to destroy all child components in a login status change).