Package de.hpi.eworld.gui

Examples of de.hpi.eworld.gui.FixedTextPane


    mainPanel.setLayout(new BorderLayout());

    // cleanWidget
    cleanWidget = new JPanel();

    final JTextPane cleanLabel = new FixedTextPane();
    cleanLabel.setBackground(new JLabel().getBackground());
    cleanLabel.setContentType("text/html");
    cleanLabel
        .setText("<i>Hover</i> the mouse over an item in the map to display some "
            + "information here. <br>You can also <i>click</i> on an item to select it and then edit it here");
    cleanWidget.setLayout(new BorderLayout());
    cleanWidget.add(cleanLabel, BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of de.hpi.eworld.gui.FixedTextPane

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.