143144145146147148149150151152153154155156157158
showInstance = false; } } if (showInstance) { panel.add(new InstanceCard(instance), gbc); gbc.gridy++; count++; } } else { panel.add(new InstanceCard(instance), gbc); gbc.gridy++; count++; } } }