Package com.nexirius.framework.dataviewer

Examples of com.nexirius.framework.dataviewer.HTMLViewerCreator


        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;
View Full Code Here


    return comp;
  }

  private JComponent createHTMLViewer(String child, ViewerFactory factory) throws Exception {
    JComponent comp = factory.createViewer(new HTMLViewerCreator(false), mainModel.getViewableChild(child)).getJComponent();
   
    comp.setBackground(factory.getClientResource().getColor("labelBackground"));
   
    comp = new JScrollPane(comp);
    comp.setPreferredSize(new Dimension(200, 300));
View Full Code Here

            } catch (Exception ex) {
                about.setText(ex.getClass().getName());
                ex.printStackTrace();
            }

            DialogManager.getPopupEditorAdaptor().noDuplicatePopupEdit(about, new HTMLViewerCreator(false), null);
        }
View Full Code Here

TOP

Related Classes of com.nexirius.framework.dataviewer.HTMLViewerCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.