Package org.owasp.jbrofuzz.util

Examples of org.owasp.jbrofuzz.util.NonWrappingTextPane


        BorderFactory.createTitledBorder(" Select a Fuzzer "),
        BorderFactory.createEmptyBorder(1, 1, 1, 1)));
    // payloadsPanel.setBounds(460, 150, 420, 300);
    // this.add(payloadsPanel);

    fuzzerInfoTextArea = new NonWrappingTextPane();
    fuzzerInfoTextArea.setBorder(BorderFactory.createCompoundBorder(
        BorderFactory.createTitledBorder(" Fuzzer Information "),
        BorderFactory.createEmptyBorder(1, 1, 1, 1)));
    fuzzerInfoTextArea.putClientProperty("charset", "UTF-8");
    fuzzerInfoTextArea.setEditable(false);
    fuzzerInfoTextArea.setVisible(true);
    fuzzerInfoTextArea.setFont(new Font("Verdana", Font.BOLD, 10));
    fuzzerInfoTextArea.setMargin(new Insets(1, 1, 1, 1));
    fuzzerInfoTextArea.setBackground(Color.WHITE);
    fuzzerInfoTextArea.setForeground(Color.BLACK);

    // Right click: Cut, Copy, Paste, Select All
    AbstractPanel.popupText(fuzzerInfoTextArea, false, true, false, true);

    final JScrollPane viewTextScrollPane = new JScrollPane(
        fuzzerInfoTextArea);
    viewTextScrollPane.setVerticalScrollBarPolicy(20);
    viewTextScrollPane.setHorizontalScrollBarPolicy(30);
    // viewTextScrollPane.setPreferredSize(new Dimension(400, 100));

    payloadInfoTextArea = new NonWrappingTextPane();
    payloadInfoTextArea.setBorder(BorderFactory.createCompoundBorder(
        BorderFactory.createTitledBorder(" Payload Properties "),
        BorderFactory.createEmptyBorder(1, 1, 1, 1)));
    payloadInfoTextArea.setEditable(false);
View Full Code Here


    final boolean wrapText = JBroFuzz.PREFS.getBoolean(JBroFuzzPrefs.FUZZING[2].getId(), false);

    if (wrapText) {
      requestPane = new JTextPane();
    } else {
      requestPane = new NonWrappingTextPane();
    }

    requestPane.putClientProperty("charset", "UTF-8");
    requestPane.setEditable(true);
    requestPane.setVisible(true);
View Full Code Here

    plScrollPane.setVerticalScrollBarPolicy(20);
    plScrollPane.setHorizontalScrollBarPolicy(30);
    plScrollPane.setPreferredSize(new Dimension(200, SIZE_Y - 190));
    // payloadsPanel.add(payloadsTableScrollPane);

    fInfoArea = new NonWrappingTextPane();

    fInfoArea.putClientProperty("charset", "UTF-8");
    fInfoArea.setEditable(false);
    fInfoArea.setVisible(true);
    fInfoArea.setFont(new Font("Verdana", Font.BOLD, 10));
View Full Code Here

            5, 5)));

    treePanel.add(treeScrollPanel);

    // The right hand side header area
    hTxTArea = new NonWrappingTextPane();
    hTxTArea.addKeyListener(this);
    hTxTArea.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));

    // hTxTArea = new NonWrappingTextPane();
    hTxTArea.putClientProperty("charset", "UTF-8");
    hTxTArea.setEditable(true);
    hTxTArea.setVisible(true);
    hTxTArea.setFont(new Font("Verdana", Font.PLAIN, 12));

    hTxTArea.setMargin(new Insets(1, 1, 1, 1));
    hTxTArea.setBackground(Color.WHITE);
    hTxTArea.setForeground(Color.BLACK);
    // Set the editor kit responsible for highlighting
    hTxTArea.setEditorKit(new StyledEditorKit() {

      /**
       *
       */
      private static final long serialVersionUID = -4550261337511448681L;

      @Override
      public Document createDefaultDocument() {
        return new TextHighlighter();
      }

    });

    // Right click: Cut, Copy, Paste, Select All
    // popupText(hTxTArea, true, true, true, true);

    final JScrollPane hScrollPane = new JScrollPane(hTxTArea);
    hScrollPane.setVerticalScrollBarPolicy(20);
    hScrollPane.setHorizontalScrollBarPolicy(30);

    final JPanel headerPanel = new JPanel(new BorderLayout());
    headerPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory
        .createTitledBorder(" Header "), BorderFactory
        .createEmptyBorder(5, 5, 5, 5)));

    headerPanel.add(hScrollPane);

    // The right hand side information area
    iTxTArea = new NonWrappingTextPane();
    iTxTArea.addKeyListener(this);
    iTxTArea.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    iTxTArea.setEditable(false);
    iTxTArea.setFont(new Font("Verdana", Font.BOLD, 10));
    // Right click: Cut, Copy, Paste, Select All
    // popupText(iTxTArea, false, true, false, true);

    final JScrollPane iScrollPane = new JScrollPane(iTxTArea);
    iScrollPane.setVerticalScrollBarPolicy(20);
    iScrollPane.setHorizontalScrollBarPolicy(30);

    final JPanel infoPanel = new JPanel(new BorderLayout());
    infoPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory
        .createTitledBorder(" Information "), BorderFactory
        .createEmptyBorder(5, 5, 5, 5)));

    infoPanel.add(iScrollPane);

    // The right hand side comment area
    cTxTArea = new NonWrappingTextPane();
    cTxTArea.addKeyListener(this);
    cTxTArea.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    cTxTArea.setEditable(false);
    cTxTArea.setFont(new Font("Verdana", Font.BOLD, 10));
    // Right click: Cut, Copy, Paste, Select All
View Full Code Here

      listTextArea = new JTextPane();

    } else {

      listTextArea = new NonWrappingTextPane();
     
    }

    // Refine the Text Area
    listTextArea.setFont(new Font("Monospaced", Font.PLAIN, 12));
View Full Code Here

TOP

Related Classes of org.owasp.jbrofuzz.util.NonWrappingTextPane

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.