A JFrame implementation and demo.