CastingConversion, Loop statements, JFrame, JPanel program