JLabel topLabel = new JLabel(factory.getClientResource().getIcon("jnex"));
panel.add(topLabel, BorderLayout.NORTH);
topLabel.setOpaque(true);
topLabel.setBackground(Color.BLACK);
JComponent htmlPanel = factory.createViewer(new HTMLViewerCreator(false), text).getJComponent();
htmlPanel.setBorder(new EmptyBorder(0, 0, 0, 0));
panel.add(htmlPanel, BorderLayout.CENTER);
panel.add(new JLabel(factory.getClientResource().getIcon("nexirius")), BorderLayout.SOUTH);
return panel;