Demos and Usage of java.awt.TextArea.TextArea.SCROLLBARS_VERTICAL_ONLY


   1:         S=s;
   2:         V=new TextArea(s,30,60,TextArea.SCROLLBARS_VERTICAL_ONLY);
   3:         if (Global.Background!=null) V.setBackground(Global.Background);
   4:         add("Center",V);
   5:         Panel p=new MyPanel();

View Full Code Here
   1:         Font font = new Font("Monospaced", Font.PLAIN, 12);
   2:         add("Center", log = new TextArea("", 20, 80, TextArea.SCROLLBARS_VERTICAL_ONLY));
   3:         log.setFont(font);
   4:         log.setEditable(false);
   5:         log("enter 'help' for help.");

View Full Code Here
   1:         
   2:         add("Center",new Panel3D(Comment=new TextArea("",5,40,TextArea.SCROLLBARS_VERTICAL_ONLY)));
   3:         Comment.setText(m.getComment());
   4:         
   5:         Panel south=new MyPanel(); 

View Full Code Here
   1:         center.add("Center",Comment=new TextArea("",5,40,
   2:             TextArea.SCROLLBARS_VERTICAL_ONLY));
   3:         if (Global.Background!=null) Comment.setBackground(Global.Background);
   4:         Panel p=new MyPanel();
   5:         p.setLayout(new GridLayout(0,1));

View Full Code Here
   1:         
   2:         south.add("Center",Comment=new TextArea("",5,40,TextArea.SCROLLBARS_VERTICAL_ONLY));
   3:         Comment.setEditable(false);
   4:         
   5:         Panel p=new MyPanel();

View Full Code Here
   1:     setBackground (Color.lightGray) ;
   2:     add (ta = new TextArea ("", 20, 10, TextArea.SCROLLBARS_VERTICAL_ONLY)) ;
   3:     retrace = false ;
   4:   }

View Full Code Here
   1:     if (mMessageTextArea == null) {
   2:         mMessageTextArea = new TextArea( "", 3, 30, TextArea.SCROLLBARS_VERTICAL_ONLY );
   3:         mMessageTextArea.setEditable( false );
   4:         mMessageTextArea.setFont( new Font( "Monospaced", Font.PLAIN, 11 ) );
   5:         mMessageTextArea.setBackground(Color.white);

View Full Code Here
   1:         grid.add(new TextArea(instruction, 6, 32,
   2:                       TextArea.SCROLLBARS_VERTICAL_ONLY), 0, 4);
   3:         } else {
   4:         grid.add(new Label(instruction), 0, 4);
   5:         }

View Full Code Here
   1: 
   2:     descText = new TextArea(keyGenerationHelp, 12, 34, TextArea.SCROLLBARS_VERTICAL_ONLY);
   3:     descText.setEditable(false);
   4:     grid.add(descText, 2, 8);
   5:     descText.addMouseMotionListener(new MouseMotionAdapter() {

View Full Code Here
   1:         comment_value =
   2:                 new TextArea("", 3, 45, TextArea.SCROLLBARS_VERTICAL_ONLY);
   3:         comment_value.setEditable(false);
   4: 
   5:         add(new Panel(), constr);

View Full Code Here
   1:     comment_value =
   2:         new TextArea("", 3, 45, TextArea.SCROLLBARS_VERTICAL_ONLY);
   3:     comment_value.setEditable(false);
   4: 
   5:     add(new Panel(), constr);

View Full Code Here
   1: 
   2:     textArea = new TextArea(aboutText, 12, 40, TextArea.SCROLLBARS_VERTICAL_ONLY);
   3:     textArea.setEditable(false);
   4:     grid.add(textArea, 1, GridBagConstraints.REMAINDER);

View Full Code Here