aPanel2.setLayout(new GridLayout(0,1));
//Create a FireCube object
processing.core.PApplet aFireCube = new PApplet(); //no need to be specific, but doesnt hurt
// processing.core.PApplet anAnimationWindow = new AnimationWindow();
processing.core.PApplet aProcessing_Button = new Processing_Button();
//Add FireCube object to Panel
aPanel.add(aFireCube);
// aPanel.add(anAnimationWindow);
aPanel2.add(aProcessing_Button);
this.add(aPanel);// add the panel to this frame
this.add(aPanel2);
//Start FireCube
aFireCube.init();
//anAnimationWindow.init();
aProcessing_Button.init(); // The most essential part
//Button aButton = new Button();