Update GraphicalDetector.java