thanks, thats a good starting point.
Do I understand right that i have to use a "Window"-Instace for this?
Even - for example - I have a Swing-Panel and want to embedd an
Pivot-Panel there (among other swing-components)?
thats the way I am going now:
----- SNIP -----
JFrame jf = new JFrame("Pivot/Swing Demo");
jf.setLayout(new BorderLayout());
jf.add(new JButton("Swing Button"), BorderLayout.NORTH);
jf.add(new JButton("Swing Button"), BorderLayout.SOUTH);
Window window = (Window) new
BXMLSerializer().readObject(SwingDemo.class .getResource("test.bxml"));
DisplayHost dh = new DisplayHost();
dh.getDisplay().add(window);
jf.add(dh, BorderLayout.CENTER);
jf.setSize(400, 400);
jf.setVisible(true);
----- SNAP -----
This works mostly fine. But if i want to deserialize an Panel-Element,
df.getDisplay().add(panel) says, that i have to add an window.
The next problem is, that the added "window" is not affected by resizes
of the parent component. Is there a way to fix this?
Kind regards,
Michael