please include function showSuggestion_master. svoid hideSuggestion() { hideSuggestion(showSuggestion_current); } svoid hideSuggestion(final JLabel label) { if (label == null) ret; disposeWindow(label); swing { if (showSuggestion_current == label) showSuggestion_current = null; } }