More tab tweaks

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2215 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-08-27 15:14:47 +00:00
parent 660ba3ae21
commit 9a6f4fee9d

View File

@ -127,10 +127,7 @@ public class Plugin implements Addin, Controller, ContextMenuListener {
* TODO investigate CompilerPage as a replacement for RuleViolationPage; or could perhaps subclass it instead.
*/
private void render(RuleContext ctx) {
if (!rvPage.isVisible()) {
rvPage.show();
}
rvPage.show();
rvPage.clearAll();
if (ctx.getReport().isEmpty()) {
JOptionPane.showMessageDialog(null, "No problems found", TITLE, JOptionPane.INFORMATION_MESSAGE);