Load File to JEditBuffer
Submitted by Friday, 30 July, 2010 - 14:51
on
Hi!
I am using the independent TextArea for a small project and was wondering how to load a file to a JEditBuffer. Currently I am reading the file by myself, and setting the text using "TextArea.setText(String)". Is there any way to load the file directly to the TextAres's JEditBuffer?
Thanks!
I am using the independent TextArea for a small project and was wondering how to load a file to a JEditBuffer. Currently I am reading the file by myself, and setting the text using "TextArea.setText(String)". Is there any way to load the file directly to the TextAres's JEditBuffer?
Thanks!