185186187188189190191
static final class PlainEditorKit extends DefaultEditorKit implements ViewFactory { private static final long serialVersionUID = 1L; public View create(Element elem) { return new WrappedPlainView(elem); }
8384858687888990919293
JTextArea c = (JTextArea)getComponent(); lineWrap = c.getLineWrap(); wordWrap = c.getWrapStyleWord(); } if (lineWrap) { return new WrappedPlainView(element, wordWrap); } return new PlainView(element); }
184185186187188189190
7879808182838485868788