If you want to use eva/3 form components in other windows, proceed as follows:
1. Create a form.
2. Add the components to the MiddlePanel.
3. Write the code to load and initialize a MainPanel. Take the MiddlePanel of the MainPanel and add the MiddlePanel to your form.
The following code fragment inserts the MiddlePanel of a form in a JFrame:
JFrame frame = new JFrame(); MainPanel mainPanel =null; try { mainPanel = ObjectLoader.getMainPanel( "forms/example.form"); } catch (AccessDeniedException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (InvocationTargetException e) { e.printStackTrace(); } mainPanel.afterLoading(); MiddlePanel middlePanel = mainPanel.getMiddlePanel(); frame.getContentPane().add(middlePanel,BorderLayout.CENTER); frame.setBounds(10,10,700,500); frame.show();