Revision 1836 trunk/libraries/libIverUtiles/src/com/iver/utiles/console/JConsole.java

View differences:

JConsole.java
188 188
	}
189 189

  
190 190
	/**
191
	 * A?ade un texto a la consola que es tomado como si lo
192
	 * hubiese escrito el usuario. Formar? parte de la respuesta
193
	 *
194
	 * @param text Texto que se a?ade a la consola
195
	 */
196
	public void addResponseText(String text) {
197
		txt.setText(txt.getText() + text);
198
		txt.setCaretPosition(txt.getText().length());
199
	}
200

  
201
	/**
191 202
	 * This method initializes jScrollPane
192 203
	 *
193 204
	 * @return javax.swing.JScrollPane

Also available in: Unified diff