我已经JTextArea
用 setText 函数设置了文本
abc="PREFIX table: <http://www.daml.org/2003/01/periodictable/PeriodicTable#> " +
"SELECT ?name " +
"FROM <http://www.daml.org/2003/01/periodictable/PeriodicTable.owl>" +
"WHERE {" +
" ?element table:name ?name. " +
" FILTER(str(?name)=\"sodium\") " +
" }"
texta.setText(abc);//abc is very long string
如何在JTextArea
.