/** * Adds the component. * @param component The component to add. */ public void addComponent(Component component) { visible_components.add(component); }
public void replace(Object t) { super.remove(t); super.add(t); }
/** * Add a message to the table * @param message The message to add. * @return <code>true</code> if success */ public boolean addMessage(Message message) { messages.add(message); int row = messages.size(); fireTableRowsInserted(row, row); return true; }