code: public static void main(String[] argv) {
  		JFrame frame = new JFrame("Whiskas Gradient Editor");
  		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  
  		JPanel main = new JPanel();
  		main.setLayout(new BoxLayout(main, BoxLayout.Y_AXIS));
  		main.setBackground(Color.CYAN);
  		frame.getContentPane().add(main);
  
  		//
  		GraphEditorWindow bottom = new GraphEditorWindow();
  
  		ArrayList curve = new ArrayList();
  		curve.add(new Vector2f(0.0f, 0.0f));
  		curve.add(new Vector2f(1.0f, 255.0f));
  		LinearInterpolator test = new ConfigurableEmitter("bla").new LinearInterpolator(
  				curve, 0, 255);
  		bottom.registerValue(test, "Test");
  
  		curve = new ArrayList();
  		curve.add(new Vector2f(0.0f, 255.0f));
  		curve.add(new Vector2f(1.0f, 0.0f));
  		test = new ConfigurableEmitter("bla").new LinearInterpolator(curve, 0,
  				255);
  		bottom.registerValue(test, "Test 2");
  
  		main.add(bottom);
  
  		frame.pack();
  		frame.setVisible(true);
  		frame.setSize(600, 300);
  		frame.addWindowListener(new WindowAdapter() {
  			public void windowClosing(WindowEvent e) {
  				System.exit(0);
  			}
  		});
  
  		frame.setVisible(true);
  	}
docs: Simple test case for the gradient painter
  
  @param argv
  The arguments supplied at the command line