VismaFileCreator vismaFileCreator=new VismaFileCreatorImpl(ordchgrHeadVManager, true);*/
//OrderViewHandler orderViewHandler = new OrderViewHandler(true,login,orderManager);
//applicationUserType, applicationUser,orderManager);
MainPackageViewHandler mainPackageViewHandler = mainPackageViewHandlerFactory.create(colliSetup, statusChekers);
mainPackageViewHandler.addCloseListener(this);
MainPackageView mainPackageView = new MainPackageView(
mainPackageViewHandler);
jFrame = new JFrame("Pakking garasjepakke");
jFrame.setIconImage(IconEnum.ICON_UGLAND_BIG.getIcon().getImage());
jFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
WindowInterface frame = new JFrameAdapter(jFrame);
jFrame.setJMenuBar(mainPackageViewHandler.getMenuBar(login.getApplicationUser(),
gulvsponPackageVManager, frame));
frame.add(mainPackageView.buildPanel(frame));
jFrame.setSize(mainPackageViewHandler.getWindowSize());
Util.locateOnScreenCenter(frame);
frame.setVisible(true);
listener.systemReady();
return jFrame;
}