require 'java' import 'java.awt.Graphics' import 'java.awt.Graphics2D' import 'javax.swing.JFrame' import 'javax.swing.JPanel' class HelloFrame