List<JComponent> components = null;
if (viewPanel != null) {
components = viewPanel.getViews();
frmEstablishmentInformationManagement.getContentPane().remove(viewPanel);
}
viewPanel = new DesktopView();
if (components != null) {
for (Component component : components)
viewPanel.addView((JComponent) component);
}
this.frmEstablishmentInformationManagement.getContentPane().add(viewPanel);