Examples of TextArea


Examples of java.awt.TextArea

        pCommand.setLayout(new BorderLayout());
        pResult.setLayout(new BorderLayout());

        Font fFont = new Font("Dialog", Font.PLAIN, 12);

        txtCommand = new TextArea(5, 40);

        txtCommand.addKeyListener(this);

        txtResult = new TextArea(20, 40);

        txtCommand.setFont(fFont);
        txtResult.setFont(new Font("Courier", Font.PLAIN, 12));

        butExecute = new Button("Execute");
View Full Code Here

Examples of java.awt.TextArea

  static boolean  _useProxies    = false;

  private static void showFile(String file)
  {
    // Create a TextArea to display the contents of the file in
    TextArea textarea = new TextArea("", 24, 80);
    textarea.setEditable(false);
    final JFrame frame = new JFrame();
    frame.setSize(530, 450);
    frame.setLocation(100, 100);
    frame.getContentPane().add(textarea);
    frame.setVisible(true);

    frame.addWindowListener(new WindowAdapter()
    {
      public void windowClosing(WindowEvent evt)
      {
        frame.dispose();
      }
    });
    textarea.setText(getFile(file));

  }
View Full Code Here

Examples of java.awt.TextArea

   * Convenience function to add a message box to the window which can be used
   * to output debug information.
   */
  public void addMessageBox() {
    if (ta == null) {
      ta = new TextArea();
      ta.setEditable(false);
      getContentPane().add(ta, BorderLayout.SOUTH);
    }
    // We need to make the window bigger to accomodate the message box.
    winSizeY += DEF_MESSAGEBOX_HEIGHT;
View Full Code Here

Examples of javafx.scene.control.TextArea

    } else if (type == Type.TEXT_AREA) {
      textField = null;
      passwordField = null;
      numericStepperDigits = null;
      listView = null;
      textArea = new TextArea();
      textArea.setWrapText(true);
      textArea.setPromptText(labelText);
      if (width != null) {
        textArea.setPrefColumnCount(width.intValue());
      }
View Full Code Here

Examples of jcurses.widgets.TextArea

     * @param title title of window
     */
    public CursesWindow(int x, int y, int width, int height, String title) {
        super(x, y, width, height, false, title);
        this.windowWidth = width;
        chatLog = new TextArea();
        chatLog.setColors(new CharColor(CharColor.WHITE, CharColor.BLACK));
        textField = new TextField();
        button = new Button("Send");
        button.setShortCut('\n');
        button.addListener(this);
View Full Code Here

Examples of jfix.zk.Textarea

    Document currentNode = getNode();
    try {
      copyObject();
      saveEditorToObject();
      getNode().setParent(null);
      Textarea textarea = new Textarea();
      textarea.setVflex("1");
      textarea.setHflex("1");
      textarea.setValue(getObject().getText());
      Window window = new Window(getObject().getPath());
      window.setHeight("75%");
      window.appendChild(textarea);
      window.doModal();
      getRoot().appendChild(window);
View Full Code Here

Examples of loxia.struts2.taglib.model.Textarea

    protected String readonly;
    protected String checkmaster;

  @Override
  public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
    return new Textarea(stack, req, res);
  }
View Full Code Here

Examples of mdes.slick.sui.TextArea

    this.setTitle(translated.get(34));
    this.setLocation(128, 256);
    this.setBackground(m_bg);
    this.setResizable(false);
   
    m_info = new TextArea();
    m_info.setSize(280, 320);
    m_info.setLocation(4, 4);
    m_info.setWrapEnabled(true);
    m_info.setText(translated.get(35)+"\n"+
        translated.get(36)+"\n"+
View Full Code Here

Examples of net.xoetrope.builder.w3c.html.tags.TextArea

      htmlTags.put( HTML.Tag.STYLE, new Style());
      htmlTags.put( HTML.Tag.SUB, new XFormatTagHandler( HTML.Tag.SUB ));
      htmlTags.put( HTML.Tag.SUP, new XFormatTagHandler( HTML.Tag.SUP ));
      htmlTags.put( HTML.Tag.TABLE, new Table());
      htmlTags.put( HTML.Tag.TD, new Td( HTML.Tag.TD ));
      htmlTags.put( HTML.Tag.TEXTAREA, new TextArea());
      htmlTags.put( HTML.Tag.TH, new Td( HTML.Tag.TH ));
      htmlTags.put( HTML.Tag.TITLE, new XDataTagHandler( HTML.Tag.TITLE ));
      htmlTags.put( HTML.Tag.TR, new Td( HTML.Tag.TR ));
      htmlTags.put( HTML.Tag.TT, new XFormatTagHandler( HTML.Tag.TT ));
      htmlTags.put( HTML.Tag.U, new XFormatTagHandler( HTML.Tag.U ));
View Full Code Here

Examples of nextapp.echo2.app.TextArea

                postMessage();
            }
        });
        postSplitPane.add(submitPostButton);

        postField = new TextArea();
        postField.setStyleName("ChatScreen.PostField");
        postField.setWidth(new Extent(97, Extent.PERCENT));
        postField.setHeight(new Extent(70, Extent.PX));
        postField.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.