Java tutorial
//package com.java2s; import java.awt.Container; public class Main { public static Container updateLayout(Container container) { container.setLayout(container.getLayout()); return container; } }