|
From: Robert P. <rob...@we...> - 2010-08-02 13:51:01
|
Hi! I hope my question will finally be right on this list :) 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? I know JeditBuffers subclass "Buffer" is able to open files, but the Buffer class seems not to be usable outside a jEdit context (when just using TextArea as I do). Thanks! |