Package ar.app.display

Examples of ar.app.display.AggregatingDisplay


    JFrame frame2 = new JFrame("Aggregating Display");
    frame2.setLocation(100, 0);
    frame2.setLayout(new BorderLayout());
    frame2.setSize(width,height);
    frame2.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    final AggregatingDisplay panel = new AggregatingDisplay(aggregator, transfer, dataset, r);
    frame2.add(panel, BorderLayout.CENTER);
    frame2.setVisible(true);
    frame2.revalidate();
    frame2.validate();
    SwingUtilities.invokeAndWait(new Runnable() {public void run() {panel.zoomFit();}});
  }
View Full Code Here


   
    for (int i=0; i< 1000; i++) {vs.add(i);}
    RainbowCheckerboard g = new RainbowCheckerboard(11, 1);
    WrappedCollection<Integer,Rectangle2D, Color> gs = new WrappedCollection<>(vs, g, g);
   
    AggregatingDisplay p = new AggregatingDisplay(new Categories.First(),
                new General.Echo<>(null),
                gs,
                new ParallelRenderer());
   
    frame.setLayout(new BorderLayout());
    frame.add(p, BorderLayout.CENTER);
   
    frame.setSize(500, 500);
    frame.invalidate();
    p.zoomFit();
   
    frame.setVisible(true);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  }
View Full Code Here

TOP

Related Classes of ar.app.display.AggregatingDisplay

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.