Package org.openide.windows

Examples of org.openide.windows.TopComponent.requestActive()


    }

    public void actionPerformed(ActionEvent evt) {
        TopComponent win = ControlFlowTopComponent.findInstance();
        win.open();
        win.requestActive();
    }
}
View Full Code Here


    }

    public void actionPerformed(ActionEvent evt) {
        TopComponent win = FilterTopComponent.findInstance();
        win.open();
        win.requestActive();
    }
}
View Full Code Here

    }

    public void actionPerformed(ActionEvent evt) {
        TopComponent win = scratch_padTopComponent.findInstance();
        win.open();
        win.requestActive();
    }
}
View Full Code Here

            @Override
            public void mouseClicked(MouseEvent e) {
                TopComponent tc = WindowManager.getDefault().findTopComponent("HierarchyTopComponent");
                if (tc != null) {
                    tc.open();
                    tc.requestActive();
                    HierarchyTopComponent hierarchyTopComponent = (HierarchyTopComponent) tc;
                    hierarchyTopComponent.refresh();
                }
            }
        });
View Full Code Here

                    NbBundle.getMessage(this.getClass(), "HashDbSearchManager.MD5HashSearch"),
                    pathText,
                    rootNode,
                    kvCollection.size());

            searchResultWin.requestActive();
        } else {
            JOptionPane.showMessageDialog(null,
                                          NbBundle.getMessage(this.getClass(), "HashDbSearchManager.noResultsFoundMsg"));
        }
    }
View Full Code Here

                }

                final TopComponent searchResultWin = DataResultTopComponent.createInstance(title, pathText,
                        new TableFilterNode(new SearchNode(contentList), true), contentList.size());

                searchResultWin.requestActive(); // make it the active top component

                /**
                 * If total matches more than 1000, pop up a dialog box that say
                 * the performance maybe be slow and to increase the
                 * performance, tell the users to refine their search.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.