Package jmt.framework.gui.components

Examples of jmt.framework.gui.components.HtmlPanel


    LDPanel.add(upperPanel, BorderLayout.NORTH);
    // Adds StrategyTable
    rangesTable = new LDStrategyTable();
    LDPanel.add(new JScrollPane(rangesTable), BorderLayout.CENTER);
    // Creates Help panel
    HtmlPanel helpPanel = new HtmlPanel(LDStrategyEditor.class.getResource(HELPFILE));
    helpPanel.setBorder(BorderFactory.createEmptyBorder(BORDERSIZE, BORDERSIZE, BORDERSIZE, BORDERSIZE));

    // Adds Edit and Help tabs to mainPanel
    mainPanel.addTab("Edit", LDPanel);
    mainPanel.addTab("Help", new JScrollPane(helpPanel));
View Full Code Here


    JPanel panel = new JPanel(new BorderLayout(BORDERSIZE / 2, BORDERSIZE / 2));
    panel.setBorder(BorderFactory.createEmptyBorder(BORDERSIZE, BORDERSIZE, BORDERSIZE, BORDERSIZE));
    // Adds website image
    JPanel tmpPanel = new JPanel(new BorderLayout(BORDERSIZE, BORDERSIZE));
    // Adds polimi description
    HtmlPanel titleLabel = new HtmlPanel();
    titleLabel.setText(GraphStartScreen.HTML_CONTENT_TITLE_HREF);
    titleLabel.setAlignmentX(Component.CENTER_ALIGNMENT);
    titleLabel.setAlignmentY(Component.CENTER_ALIGNMENT);
    titleLabel.setOpaque(false);
    tmpPanel.add(titleLabel, BorderLayout.CENTER);

    // Adds application title
    title = new JLabel();
    title.setHorizontalTextPosition(SwingConstants.RIGHT);
View Full Code Here

    jtp.add("General", general);

    JPanel evaluator = new JPanel(new BorderLayout());

    HtmlPanel ehelp = new HtmlPanel(evalHelp);

    evaluator.add(Box.createHorizontalStrut(10), BorderLayout.WEST);
    evaluator.add(new JScrollPane(ehelp), BorderLayout.CENTER);
    evaluator.add(Box.createHorizontalStrut(10), BorderLayout.EAST);
View Full Code Here

TOP

Related Classes of jmt.framework.gui.components.HtmlPanel

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.