Advertisement
FALSkills

Untitled

Feb 13th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. private static JTabbedPane getClientTab(){
  2. JFrame frame = findTRiBotFrame();
  3. JRootPane root = (JRootPane) frame.getComponent(0);
  4. JLayeredPane layeredPane = (JLayeredPane) root.getComponent(1);
  5. JPanel panel = (JPanel) layeredPane.getComponent(1);
  6. JSplitPane splitPane = (JSplitPane) panel.getComponent(0);
  7.  
  8.  
  9. return (JTabbedPane) splitPane.getComponent(1);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement