Fixed opening bug through wrapping removeAll in EventQueue.invokeLater