Package org.onemind.swingweb.component.shareapp

Examples of org.onemind.swingweb.component.shareapp.ViewComponent


    public URLDemo()
    {
        JPanel main = new JPanel();
        main.setLayout(new BorderLayout());
        SwingWebUtils.registerURLLocal(viewValue);
        ViewComponent com = new ViewComponent(viewValue);
        com.addView(KEY_SECTION1, new JLabel("This is section 1"));
        com.addView(KEY_SECTION2, new JLabel("This is section 2"));
        com.addView(KEY_SECTION3, new JLabel("This is section 3"));
        JPanel buttons = new JPanel();
        buttons.add(createButton("Section 1", KEY_SECTION1));
        buttons.add(createButton("Section 2", KEY_SECTION2));
        buttons.add(createButton("Section 3", KEY_SECTION3));
        main.add(buttons, BorderLayout.NORTH);
View Full Code Here

TOP

Related Classes of org.onemind.swingweb.component.shareapp.ViewComponent

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.