Java Code Examples for com.google.gwt.user.client.ui.TextArea#setCharacterWidth()

The following examples show how to use com.google.gwt.user.client.ui.TextArea#setCharacterWidth() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DebugDialog.java    From swellrt with Apache License 2.0 4 votes vote down vote up
/**
 * Initialisation code for the TextAreas
 *
 * @param area text area to initialise
 */
private void initTextArea(TextArea area) {
  area.setReadOnly(true);
  area.setVisibleLines(40);
  area.setCharacterWidth(80);
}
 
Example 2
Source File: DebugDialog.java    From incubator-retired-wave with Apache License 2.0 4 votes vote down vote up
/**
 * Initialisation code for the TextAreas
 *
 * @param area text area to initialise
 */
private void initTextArea(TextArea area) {
  area.setReadOnly(true);
  area.setVisibleLines(40);
  area.setCharacterWidth(80);
}