FlamePanel flamePanel = flamepanels.get(pRootPanel);
if (flamePanel == null) {
int width = pRootPanel.getWidth();
int height = pRootPanel.getHeight();
SimpleImage img = new SimpleImage(width, height);
img.fillBackground(0, 0, 0);
flamePanel = new FlamePanel(prefs, img, 0, 0, pRootPanel.getWidth(), pFlameHolder, null);
flamePanel.setRenderWidth(renderWidthREd.getIntValue());
flamePanel.setRenderHeight(renderHeightREd.getIntValue());
flamePanel.setFocusable(true);
pRootPanel.add(flamePanel, BorderLayout.CENTER);