1 26 27 package org.objectweb.openccm.packaging; 28 29 36 public class TextArea 37 extends javax.swing.JPanel 38 { 39 45 46 private javax.swing.JTextArea text_area; 47 48 54 57 public 58 TextArea () 59 { 60 text_area = new javax.swing.JTextArea ("", 5, 30); 62 63 this.setLayout(new java.awt.BorderLayout ()); 64 65 javax.swing.JPanel content = new javax.swing.JPanel (); 66 68 content.add(this.text_area); 70 71 this.add(content, java.awt.BorderLayout.CENTER); 73 } 74 75 81 84 public String 85 getBigText() 86 { 87 return this.text_area.getText(); 88 } 89 90 93 public void 94 setBigText (String text) 95 { 96 this.text_area.setText(text); 97 } 98 99 } 100 | Popular Tags |