> So instead of using the serializer like this: > > window = (Window)bxmlSerializer.readObject(IIADashboard.class, > "iiaDashboard.bxml"); > > I would use it something like this? : > > BoxPane = (BoxPane)bxmlSerializer.readObject(IIADashboard.class, > "iiaDashboard.bxml"); > > and then just put that boxpane in the right side of the splitpane?
If you are pulling the content from a text area on the left side of the split pane, it might not be a BoxPane. But maybe it would be safe to assume that it is a Component. If so, you could do something like this: StringReader reader = new StringReader(textArea.getText()); Component component = bxmlSerializer.readObject(reader); splitPane.setRight(component);
