- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ArrayList a =
new ArrayList<String>()
new ArrayList()
new ArrayList<Object>()
- Smart code suggestions by Codota
}
/** * The base page is built with an empty panel in the page-header section that can be filled by * subclasses calling this method * * @param component The component to be placed at the bottom of the page-header section. The * component must have "page-header" id */ protected void setHeaderPanel(Component component) { if (!HEADER_PANEL.equals(component.getId())) throw new IllegalArgumentException( "The header panel component must have 'headerPanel' id"); remove(HEADER_PANEL); add(component); }
/** * The base page is built with an empty panel in the page-header section that can be filled by * subclasses calling this method * * @param component * The component to be placed at the bottom of the page-header section. The component * must have "page-header" id */ protected void setHeaderPanel(Component component) { if (!HEADER_PANEL.equals(component.getId())) throw new IllegalArgumentException( "The header panel component must have 'headerPanel' id"); remove(HEADER_PANEL); add(component); }