List of usage examples for javax.swing JFrame getComponent
public Component getComponent(int n)
From source file:Main.java
public static void main(String[] argv) throws Exception { JFrame container = new JFrame(); // Get number of children int count = container.getComponentCount(); for (int i = 0; i < count; i++) { Component c = container.getComponent(i); }/*from www.java 2s . c om*/ }