Package com.devsniper.desktop.customers.contoller

Examples of com.devsniper.desktop.customers.contoller.DashboardController


        // ribbon menu
        configureRibbonMenu();

        // add dashboard page
        DashboardController dashboardController = new DashboardController();
        centerPanel = new JPanel(new BorderLayout());
        centerPanel.setBorder(BorderFactory.createMatteBorder(0, -1, 0, -1,
                ViewHelpers.getSubstanceComponentBorderColor(centerPanel)));
        centerPanel.add(dashboardController.getPageView().asComponent(), BorderLayout.CENTER);

        getContentPane().add(centerPanel, BorderLayout.CENTER);
        pack();
    }
View Full Code Here


    /**
     * Open dashboard page
     */
    public void onOpenDashboard() {
        DashboardController controller = new DashboardController();
        addPageToCenter(controller.getPageView());
    }
View Full Code Here

TOP

Related Classes of com.devsniper.desktop.customers.contoller.DashboardController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.