how to put block easily by command java code example Example: how to get all of the chldren of a panel in java Component[] components = jpanel.getComponents();