title: How can I refresh a JPanel in a JTabbedPane only if that tab is the one that is visible?
body: <p>I have a pane that I need to rebuild the contents of and then swap it with the current panel, but only if it's the current tab. </p>