Package com.sshtools.ui.awt

Examples of com.sshtools.ui.awt.MultilineLabel


                buf.append(mesg + "\n"); //$NON-NLS-1$
            }
            appendException(exception, 0, buf, details);
            Component message;
            if (details) {
                MultilineLabel text = new MultilineLabel(buf.toString());
                message = new ScrollPane(ScrollPane.SCROLLBARS_AS_NEEDED);
                message.setSize(new Dimension(520, 400));
                ((ScrollPane) message).add(text);

            } else {
                message = new MultilineLabel(buf.toString());
            }
            Option opt = prompt(parent, ERROR, title, message, opts);
            if (opt == CHOICE_HIDE || opt == CHOICE_SHOW) {
                details = !details;
            } else {
View Full Code Here

TOP

Related Classes of com.sshtools.ui.awt.MultilineLabel

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.