jFrame search fix