Package bandwidth.ui

Examples of bandwidth.ui.GraphicManager


    GridLayout layout = new GridLayout(2, 1, 0, 0);
    layout.setVgap(4);
    setLayout(layout);

    JLabel downloadLabel = new JLabel("Download Bandwidth Usage");
    downloadGraphic = new GraphicManager(ControlledInputStream.getController());

    JPanel downloadPanel = new JPanel();
    downloadPanel.setLayout(new BorderLayout());
    downloadPanel.add(downloadLabel, BorderLayout.NORTH);
    downloadPanel.add(downloadGraphic, BorderLayout.CENTER);

    JLabel uploadLabel = new JLabel("Upload Bandwidth Usage");
    uploadGraphic = new GraphicManager(ControlledOutputStream.getController());

    JPanel uploadPanel = new JPanel();
    uploadPanel.setLayout(new BorderLayout());
    uploadPanel.add(uploadLabel, BorderLayout.NORTH);
    uploadPanel.add(uploadGraphic, BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of bandwidth.ui.GraphicManager

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.