Search in sources :

Example 11 with ZapTextArea

use of org.zaproxy.zap.utils.ZapTextArea in project zaproxy by zaproxy.

the class SplashScreen method getTipsPanel.

private ZapTextArea getTipsPanel() {
    if (tipsPanel == null) {
        tipsPanel = new ZapTextArea();
        tipsPanel.setEditable(false);
        tipsPanel.setLineWrap(true);
        tipsPanel.setWrapStyleWord(true);
        tipsPanel.setName("");
        tipsPanel.append(Constant.messages.getString("start.splash.tips.loading"));
        displayRandomTip();
    }
    return tipsPanel;
}
Also used : ZapTextArea(org.zaproxy.zap.utils.ZapTextArea)

Example 12 with ZapTextArea

use of org.zaproxy.zap.utils.ZapTextArea in project zaproxy by zaproxy.

the class AlertViewPanel method getDefaultOutput.

private ZapTextArea getDefaultOutput() {
    if (defaultOutput == null) {
        defaultOutput = new ZapTextArea();
        defaultOutput.setEditable(false);
        defaultOutput.setLineWrap(true);
        defaultOutput.setName("");
        defaultOutput.append(Constant.messages.getString("alerts.label.defaultMessage"));
    }
    return defaultOutput;
}
Also used : ZapTextArea(org.zaproxy.zap.utils.ZapTextArea)

Example 13 with ZapTextArea

use of org.zaproxy.zap.utils.ZapTextArea in project zaproxy by zaproxy.

the class ContextGeneralPanel method getTxtDescription.

/**
	 * This method initializes txtDescription
	 * 
	 * @return org.zaproxy.zap.utils.ZapTextArea
	 */
private ZapTextArea getTxtDescription() {
    if (txtDescription == null) {
        txtDescription = new ZapTextArea();
        txtDescription.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
        txtDescription.setLineWrap(true);
    }
    return txtDescription;
}
Also used : ZapTextArea(org.zaproxy.zap.utils.ZapTextArea)

Example 14 with ZapTextArea

use of org.zaproxy.zap.utils.ZapTextArea in project zaproxy by zaproxy.

the class SessionGeneralPanel method getTxtDescription.

/**
	 * This method initializes txtDescription	
	 * 	
	 * @return org.zaproxy.zap.utils.ZapTextArea	
	 */
private ZapTextArea getTxtDescription() {
    if (txtDescription == null) {
        txtDescription = new ZapTextArea();
        txtDescription.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
        txtDescription.setLineWrap(true);
    }
    return txtDescription;
}
Also used : ZapTextArea(org.zaproxy.zap.utils.ZapTextArea)

Aggregations

ZapTextArea (org.zaproxy.zap.utils.ZapTextArea)14 JScrollPane (javax.swing.JScrollPane)3 ActionEvent (java.awt.event.ActionEvent)1 ActionListener (java.awt.event.ActionListener)1 GroupLayout (javax.swing.GroupLayout)1 JButton (javax.swing.JButton)1