PlainTextSerializer plainTextSerializer = new PlainTextSerializer("UTF-8");
InputStream inputStream = getClass().getResourceAsStream("text_area.txt");
Document document = null;
try {
document = plainTextSerializer.readObject(inputStream);
} catch(Exception exception) {
System.out.println(exception);
}
TextArea textArea = (TextArea)wtkxSerializer.getObjectByName("text.textArea");