using an anonymous JPanel with @Override instead of a single-use extend class