How to use Window2D ?
Window2D is the assembly view connector. The window instance can be register multiple layout like metrics layout, grid layout, band layout, point layout, outline, annotations (see related sections)
private JPanel viewContainer;
private void installView(){
view = new View2D();
view.setDeviceBackground(Color.WHITE);
Window2D w2d= new Window2D(-100,+100,-100,100);
w2d.setName("Hello window");
view.registerWindow2D(w2d);
viewContainer.setLayout(new BorderLayout());
viewContainer.add(view,BorderLayout.CENTER);
}
