code: private void initGraphEditorWindow()
  	{
  	    // create the window
  	    GraphEditorWindow editor = new GraphEditorWindow();
  
  	    whiskasPanel.setEditor(editor);
  
  	    graphEditorFrame= new JFrame("Whiskas Gradient Editor");
  	    graphEditorFrame.getContentPane().add(editor);
  	    graphEditorFrame.setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);
  	    graphEditorFrame.pack();
  	    graphEditorFrame.setSize(600, 300);
  	    graphEditorFrame.setLocation(this.getX(), this.getY()+this.getHeight());
  	    graphEditorFrame.setVisible(true);
  	    
  //		try {
  //			InputStream in = ParticleEditor.class.getClassLoader().getResourceAsStream("org/newdawn/slick/tools/peditor/data/icon.gif");
  //			
  //			//graphEditorFrame.setIconImage(ImageIO.read(in));
  //		} catch (IOException e) {
  //			e.printStackTrace();
  //		}
  	}
docs: init the graph editor window