frameTree =  new JRadioButton(new FrameTreeAction()); frameTree.setSelected(true); containerTree = new JRadioButton(new ContainerTreeAction());  ButtonGroup group = new ButtonGroup(); group.add(frameTree); group.add(containerTree);  buttonBox.add(frameTree); buttonBox.add(containerTree);
        public FrameSnapshotView(FrameTreeView frameView) {            super(new BorderLayout());            this.frameTreeView = frameView;            Box buttonBox = Box.createHorizontalBox();            buttonBox.add(Box.createHorizontalGlue());            buttonBox.add(new JButton(new RefreshAction()));            add(buttonBox, BorderLayout.NORTH);            htmlView = new JLabel();            JScrollPane sp = new JScrollPane(htmlView);            add(sp, BorderLayout.CENTER);        }