public void setLayout ( FormLayout layout , JPanel panel ) { this . panel = panel ; this . layout = layout ; panel . setLayout ( layout ) ; cc = new CellConstraints ( ) ; row = - 1 ; }
Set a panel with the provided layout layout .