GridBagConstraints c = new GridBagConstraints(); c.anchor = GridBagConstraints.WEST; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 1.0;
    void displayDetails(Map details, PermissionData permission)    {       permissionPanel.removeAll();              if (details != null) {           GridBagConstraints c = new GridBagConstraints();           c.anchor = GridBagConstraints.WEST;           c.gridwidth = GridBagConstraints.REMAINDER;     //end row           c.fill = GridBagConstraints.HORIZONTAL;           c.weightx = 1.0;           permissionPanel.add(                   new PermissionPane(this, model, details, permission), c);       }    }