
30/07/2005, 16:17
|
 | | | Fecha de Ingreso: junio-2005
Mensajes: 620
Antigüedad: 19 años, 8 meses Puntos: 1 | |
JTextArea text=new JTextArea(30/*columnas*/,50/*renglones*/);
JScrollPane scrollPane = new JScrollPane(text);
JPanel sec_comp = new JPanel(true);
Frame frame = new JFrame();
/*en el constructor*/
sec_comp.add(scrollPane);
frame.getContentPane().add(sec_comp,BorderLayout.C ENTER); |