Package org.openide.windows

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


            public void actionPerformed(ActionEvent e) {

                if (!topComponent.isOpened()) {
                    topComponent.open();
                    topComponent.requestActive();
                    timelineButton.setText(CLOSE);
                } else {
                    topComponent.close();
                    timelineButton.setText(OPEN);
                }
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

    }

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

                if (null == name || name.startsWith("${")) {
                    taw = new SipAgentMainWindow(1);
                } else {
                    taw = SipAgentMainWindow.get(name);
                }
                taw.requestActive();
            }
        });
    }

}
View Full Code Here

    }

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

    }

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

                JScrollPane ssc = new JScrollPane( jp );
                ssc.setBorder( BorderFactory.createEmptyBorder() );
                ssc.setViewportBorder( BorderFactory.createEmptyBorder() );
                tc.add( ssc, BorderLayout.CENTER );
                tc.open();
                tc.requestActive();
            } catch ( Exception ex ) {
                //already logged
            }
        }
    }
View Full Code Here

    @Override
    public void actionPerformed(ActionEvent e) {
        TopComponent topComponent = new LsTopComponent();
        topComponent.open();
        topComponent.requestActive();
    }
}
View Full Code Here

    @Override
    public void actionPerformed(ActionEvent e) {
        TopComponent topComponent = new GrepTopComponent();
        topComponent.open();
        topComponent.requestActive();
    }
}
View Full Code Here

    @Override
    public void actionPerformed(ActionEvent e) {
        TopComponent topComponent = new RsyncTopComponent();
        topComponent.open();
        topComponent.requestActive();
    }
}
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.