Table is not showing up when visible is set to true

I have a table that has visible set to false. Within my webpage when I user selects a option from the radio buttons this table will appear or be hidden depending on the users choice. This works fine with firefox 3.6 and IE7.

When posting on multiple forums, it's courteous to link to the other thread so contributors can see whether they are duplicating the efforts of others.
[http://forums.mozillazine.org/viewtopic.php?f=25&t=2227373 Firefox not showing hidden table • mozillaZine Forums]

Similar Messages

  • Af:table is not showing records until doing refresh of the view object iter

    Hi Experts,
    I am using JDeveloper 11.1.1.4 and i have a page whhich shows records of a particular read only view object as an af:table. When i run the page at first it is not showing any data at all . But there are 2 records when i run the query of that read only view object.In my page there is a link called "Refresh" which calls the "Execute" operation of the view iterator of my view object. When i click this link the table shows two records.Why the table does not show records once wehn the page is rendered?
    Please help me.

    The following is the code that shows the panel collection in my page.
    <af:panelCollection id="pc1" featuresOff="freeze, wrap"styleClass="NewStyle">
    <f:facet name="secondaryToolbar">
    <af:toolbar id="t1" styleClass="Secondary">
    *<af:query id="qryId1" headerText="Search" disclosed="false"*
    *value="#{bindings.salesInvoiceAuthorisationCriteriaWaitOnlyQuery.queryDescriptor}"*
    *model="#{bindings.salesInvoiceAuthorisationCriteriaWaitOnlyQuery.queryModel}"*
    *queryListener="#{criteria.processQueryForSalesInvoice}"*
    *queryOperationListener="#{bindings.salesInvoiceAuthorisationCriteriaWaitOnlyQuery.processQueryOperation}"*
    *displayMode="compact"*
    *saveQueryMode="readOnly" maxColumns="2"*
    *modeChangeVisible="false" styleClass="Minimal"*
    *conjunctionReadOnly="true"*
    *resultComponentId="::t2"/>*
    </af:toolbar>
    </f:facet>
    <af:table value="#{bindings.salesInvoiceAuthorisation1.collectionModel}"
    var="row"
    rows="#{bindings.salesInvoiceAuthorisation1.rangeSize}"
    emptyText="#{bindings.salesInvoiceAuthorisation1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.salesInvoiceAuthorisation1.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.salesInvoiceAuthorisation1Query.queryDescriptor}"
    queryListener="#{bindings.salesInvoiceAuthorisation1Query.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.salesInvoiceAuthorisation1.collectionModel.selectedRow}"
    selectionListener="#{bindings.salesInvoiceAuthorisation1.collectionModel.makeCurrent}"
    rowSelection="none" id="t2"
    columnStretching="column:accountNameColumn"
    binding="#{processDocuments.invoiceTable}"
    contentDelivery="immediate"
    partialTriggers="::c111 selectToPost ::qryId1"
    styleClass="newTableStyle" autoHeightRows="9">
    <af:column filterable="false" sortable="false"
    headerText="#{bindings.DocumentAuthorisationView1.hints.ToPost.label}"
    id="c18" align="center"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    width="103">
    <af:selectBooleanCheckbox id="selectToPost"
    value="#{row.bindings.ToPost.inputValue}"
    autoSubmit="true"/>
    </af:column>
    <af:column sortProperty="DocumentName" filterable="true"
    sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.DocumentName.label}"
    id="c11"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    width="107" filterFeatures="caseInsensitive">
    <af:outputText value="#{row.DocumentName}" id="ot1"/>
    </af:column>
    <af:column sortProperty="ExternalReference" filterable="true"
    sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.ExternalReference.label}"
    id="c10"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    width="105" filterFeatures="caseInsensitive">
    <af:outputText value="#{row.ExternalReference}" id="ot8"/>
    </af:column>
    <af:column sortProperty="DocumentCategory" filterable="true"
    sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.DocumentCategory.label}"
    id="c9"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    width="105" filterFeatures="caseInsensitive">
    <af:outputText value="#{row.DocumentCategory}" id="ot11"/>
    </af:column>
    <af:column sortProperty="CrDr" filterable="true"
    sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.CrDr.label}"
    id="c4"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    width="52" align="right">
    <af:outputText value="#{row.CrDr}" id="ot9">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.salesInvoiceAuthorisation1.hints.CrDr.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="BaseDate" filterable="true"
    sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.BaseDate.label}"
    id="c8"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.BaseDate}"
    id="id1" contentStyle="text-transform:uppercase;">
    <af:convertDateTime pattern="#{bindings.salesInvoiceAuthorisation1.hints.BaseDate.format}"/>
    </af:inputDate>
    </f:facet>
    <af:inputDate value="#{row.BaseDate}" id="ot6" contentStyle="text-transform:uppercase;">
    <af:convertDateTime pattern="#{bindings.salesInvoiceAuthorisation1.hints.BaseDate.format}"/>
    </af:inputDate>
    </af:column>
    <af:column sortProperty="ExternalAccountCode"
    filterable="true" sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.ExternalAccountCode.label}"
    id="c6"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    filterFeatures="caseInsensitive" visible="false">
    <af:outputText value="#{row.ExternalAccountCode}" id="ot3"/>
    </af:column>
    <af:column sortProperty="AccountName" filterable="true"
    sortable="true"
    headerText="#{bindings.salesInvoiceAuthorisation1.hints.AccountName.label}"
    id="accountNameColumn"
    styleClass="#{row.bindings.ToPost.inputValue ? 'RowSelected' : ''}"
    filterFeatures="caseInsensitive">
    <af:outputText value="#{row.AccountName}" id="ot4"/>
    </af:column>
    </af:table>
    </af:panelCollection>
    Edited by: Priya on Nov 22, 2011 12:22 AM

  • My html table is not showing on the 2nd tab panel (muse widget)

    The same table works just fine on the first tab however when I try to click on the second table in browser mode or preview page on browser, my table does not show up. Any tips for fixing this issue?

    If I get this right, you're using the Tabbed panel widget to display a HTML table in each of the tabs. If that is the case, please make sure you insert the HTML content on each the tab's content area respectively. In order to verify this, switch between the tabs in Design mode to check your content.
    Thanks,
    Vinayak

  • JTable Problem (table does not show rows and columns)

    Hi All,
    What the table is suppose to do.
    - Load information from a database
    - put all the values in the first column
    - in the second column put combobox (cell editor with numbers 1-12)
    - the 3rd column put another combobox for something else
    - the 4th column uses checkbox as an edit
    The number of rows of the table should be equal to the number of
    record from
    the database. If not given it default to 20 (poor but ok for this)
    The number of columns is 4.
    But the table does not show any rows or
    column when I put it inside a
    JScrollPane (Otherwise it works).
    Please help,
    thanks in advance.
    public class SubjectTable extends JTable {
    * Comment for <code>serialVersionUID</code>
    private static final long serialVersionUID = 1L;
    /** combo for the list of classes */
    protected JComboBox classCombo;
    /** combo for the list of subjects */
    protected JComboBox subjectsCombo;
    /** combo for the list of grade */
    protected JComboBox gradeCombo;
    boolean canResize = false;
    boolean canReorder = false;
    boolean canSelectRow = false;
    boolean canSelectCell = true;
    boolean canSelectColumn = true;
    // the row height of the table
    int rowHeight = 22;
    // the height of the table
    int height = 200;
    // the width of the table
    int width = 300;
    // the size of the table
    Dimension size;
    * Parameterless constructor. Class the one of the other constructors
    to
    * create a table with the a new <code>SubjectTableModel</code>.
    public SubjectTable() {
    this(new SubjectTableModel());
    * Copy constructor to create the table with the given
    * <code>SubjectTableModel</code>
    * @param tableModel -
    * the <code>SubjectTableModel</code> with which to
    initialise
    * the table.
    SubjectTable(SubjectTableModel tableModel) {
    setModel(tableModel);
    setupTable();
    * Function to setup the table's functionality
    private void setupTable() {
    clear();
    // set the row hieght
    this.setRowHeight(this.rowHeight);
    // set the font size to 12
    //TODO this.setFont(Settings.getDefaultFont());
    // disble reordering of columns
    this.getTableHeader().setReorderingAllowed(this.canReorder);
    // disble resing of columns
    this.getTableHeader().setResizingAllowed(this.canResize);
    // enable the horizontal scrollbar
    this.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    // disable row selection
    setRowSelectionAllowed(this.canSelectRow);
    // disable column selection
    setColumnSelectionAllowed(this.canSelectColumn);
    // enable cell selection
    setCellSelectionEnabled(this.canSelectCell);
    setPreferredScrollableViewportSize(getSize());
    TableColumn columns = null;
    int cols = getColumnCount();
    for (int col = 0; col < cols; col++) {
    columns = getColumnModel().getColumn(col);
    switch (col) {
    case 0:// subject name column
    columns.setPreferredWidth(130);
    break;
    case 1:// grade column
    columns.setPreferredWidth(60);
    break;
    case 2:// class room column
    columns.setPreferredWidth(120);
    break;
    case 3:// select column
    columns.setPreferredWidth(65);
    break;
    } // end switch
    }// end for
    // set up the cell editors
    doGradeColumn();
    doClassColumn();
    //doSubjectColumn();
    * Function to clear the table selection. This selection is different
    to
    * <code>javax.swing.JTable#clearSelection()</code>. It clears the
    user
    * input
    public void clear() {
    for (int row = 0; row < getRowCount(); row++) {
    for (int col = 0; col < getColumnCount(); col++) {
    if (getColumnName(getColumnCount() - 1).equals("Select")) {
    setValueAt(new Boolean(false), row, getColumnCount() - 1);
    }// if
    }// for col
    }// for row
    * Function to set the cell renderer for the subjects column. It uses
    a
    * combobox as a cell editor in the teacher's subjects table.
    public void doSubjectColumn() {
    TableColumn nameColumn = getColumnModel().getColumn(0);
    nameColumn.setCellEditor(new DefaultCellEditor(getSubjectsCombo()));
    // set up the celll renderer
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for drop down list");
    nameColumn.setCellRenderer(renderer);
    // Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = nameColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer) headerRenderer)
    .setToolTipText("Click the Name to see a list of choices");
    }// end doSubjectsColumn----------------------------------------------
    /** Function to set up the grade combo box. */
    public void doGradeColumn() {
    TableColumn gradeColumn = getColumnModel().getColumn(1);
    gradeColumn.setCellEditor(new DefaultCellEditor(getGradeCombo()));
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for drop down list");
    gradeColumn.setCellRenderer(renderer);
    // Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = gradeColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer) headerRenderer)
    .setToolTipText("Click the Grade to see a list of choices");
    }// end doGradeColumn-------------------------------------------------
    * Function to setup the Class room Column of the subjects
    public void doClassColumn() {
    // set the column for the classroom
    TableColumn classColumn = getColumnModel().getColumn(2);
    classColumn.setCellEditor(new DefaultCellEditor(getClassCombo()));
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for drop down list");
    classColumn.setCellRenderer(renderer);
    // Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = classColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer) headerRenderer)
    .setToolTipText("Click the Class to see a list of choices");
    }// end doClassColumn--------------------------------------------------
    * Function to get the size of the table
    * @return Returns the size.
    public Dimension getSize() {
    if (this.size == null) {
    this.size = new Dimension(this.height, this.width);
    return this.size;
    * Function to set the size of the table
    * @param dim
    * The size to set.
    public void setSize(Dimension dim) {
    if (dim != null) {
    this.size = dim;
    return;
    * Function to create/setup the class room comboBox. If the comboBox
    is
    * <code>null</code> a nwew one is created else the functon returns
    the
    * function that was returned initially.
    * @return Returns the classCombo.
    private JComboBox getClassCombo() {
    if (this.classCombo == null) {
    this.classCombo = new JComboBox();
    // fill up the class name combo
    ArrayList classRooms = new ArrayList();
    try {
    //TODO classRooms = Settings.getDatabase().getClassRooms();
    for (int i = 0; i < 10; i++) {
    String string = new String("Class");
    string += i;
    if (!classRooms.isEmpty()) {
    classRooms.trimToSize();
    for (int i = 0; i < classRooms.size(); i++) {
    this.classCombo.addItem(classRooms.get(i));
    } catch (Exception e) {
    e.printStackTrace();
    return this.classCombo;
    * Function to create/setup the subjects comboBox. If the comboBox is
    * <code>null</code> a nwew one is created else the functon returns
    the
    * function that was returned initially.
    * @return Returns the subjectsCombo.
    private JComboBox getSubjectsCombo() {
    if (this.subjectsCombo == null) {
    this.subjectsCombo = new JComboBox();
    try {
    ArrayList subjects = loadSubjectsFromDatabase();
    if (!subjects.isEmpty()) {
    Iterator iterator = subjects.iterator();
    while (iterator.hasNext()) {
    // create a new subject instance
    //TODO Subject subct = new Subject();
    // typecast to subject
    //TODO subct = (Subject) iterator.next();
    String name = (String) iterator.next();
    // add this subject to the comboBox
    //TODO this.subjectsCombo.addItem(subct.getName());
    subjectsCombo.addItem(name);
    }// end while
    }// end if
    else {
    JOptionPane.showMessageDialog(SubjectTable.this,
    "Subjects List Could Not Be Filled");
    System.out.println("Subjects List Could Not Be Filled");
    } catch (Exception e) {
    e.printStackTrace();
    return this.subjectsCombo;
    * Function to load subjects from the <code>Database</code>
    * @return Returns the subjects.
    private ArrayList loadSubjectsFromDatabase() {
    // list of all the subject that the school does
    ArrayList subjects = new ArrayList();
    try {
    //TODO to be removed later on
    for (int i = 0; i < 10; i++) {
    String string = new String("Subject");
    string += i;
    subjects.add(i, string);
    // set the school subjects
    //TODO subjects = Settings.getDatabase().loadAllSubjects();
    } catch (Exception e1) {
    e1.printStackTrace();
    return subjects;
    * Function to create/setup the grade comboBox. If the comboBox is
    * <code>null</code> a nwew one is created else the functon returns
    the
    * function that was returned initially.
    * @return Returns the gradeCombo.
    private JComboBox getGradeCombo() {
    if (this.gradeCombo == null) {
    this.gradeCombo = new JComboBox();
    // fill with grade 1 to 12
    for (int i = 12; i > 0; i--) {
    this.gradeCombo.addItem(new Integer(i).toString());
    return this.gradeCombo;
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
    System.out.println("Look and Feel has been set");
    } catch (UnsupportedLookAndFeelException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    SubjectTableModel model = new SubjectTableModel();
    int cols = model.getColumnCount();
    int rows = model.getRowCount();
    Object[][] subjects = new Object[rows][cols];
    for (int row = 0; row < rows; row++) {
    subjects[row][0] = new String("Subjectv ") + row;
    }//for
    model.setSubjectsList(subjects);
    SubjectTable ttest = new SubjectTable(model);
    JFrame frame = new JFrame("::Table Example");
    JScrollPane scrollPane = new JScrollPane();
    scrollPane.setViewportView(ttest);
    frame.getContentPane().add(scrollPane);
    frame.pack();
    frame.setVisible(true);
    **************************************END
    TABLE******************************
    ----------------------------THE TABLE
    MODEL----------------------------------
    * Created on 2005/03/21
    * SubjectTableModel
    package com.school.academic.ui;
    import javax.swing.table.AbstractTableModel;
    * Class extending the <code>AbstractTableModel</code> for use in
    creating the
    * <code>Subject</code>s table. In addition to the implemented methods
    of
    * <code>AbstractTableModel</code> The class creates a model that has
    initial
    * values - the values have their own <code>getter</code> and
    * <code>setter</code> methods - but can still be used for values that
    a user
    * chooses.
    * <p>
    * @author Khusta
    public class SubjectTableModel extends AbstractTableModel {
    * Comment for <code>serialVersionUID</code>
    private static final long serialVersionUID = 3257850978324461113L;
    /** Column names for the subjects table */
    String[] columnNames = { "Subject", "Grade", "Class Room",
    "Select" };
    /** Array of objects for the subjects table */
    Object[][] subjectsList;
    private int totalRows = 20;
    protected int notEditable = 0;
    * Parameterless constructor.
    public SubjectTableModel() {
    // TODO initialise the list
    // add column to the default table model
    this.subjectsList = new
    Object[getTotalRows()][getColumnNames().length];
    * Copy constructor with the <code>subjectList</code> to set
    * @param subjects
    public SubjectTableModel(Object[][] subjects) {
    this(0, null, subjects, 0);
    * Copy constructor with the initial number of row for the model
    * @param rows -
    * the initial rows of the model
    * @param cols -
    * the initial columns of the model
    * @param subjects -
    * the initial subjects for the model
    * @param edit - the minimum number of columns that must be
    uneditable
    public SubjectTableModel(int rows, String[] cols, Object[][]
    subjects, int edit) {
    // set the initial rows
    setTotalRows(rows);
    // set the column names
    setColumnNames(cols);
    // set the subjectlist
    setSubjectsList(subjects);
    //set not editable index
    setNotEditable(edit);
    * Function to get the total number of columns in the table
    * @return int -- the columns in the table
    public int getColumnCount() {
    if (this.subjectsList == null) {
    return 0;
    return getColumnNames().length;
    * Function to get the total number of rows in the table
    * @return int -- the rows in the table
    public int getRowCount() {
    if (this.subjectsList == null) {
    return 0;
    return this.subjectsList.length;
    * Function to get the name of a column in the table.
    * @param col --
    * the column to be named
    * @return String -- the column in the table
    public String getColumnName(int col) {
    if (getColumnNames()[col] != null) {
    return getColumnNames()[col];
    return new String("...");
    * Function to get the value of the given row.
    * @param row --
    * the row of the object.
    * @param col --
    * the col of the object.
    * @return Object -- the value at row, col.
    public Object getValueAt(int row, int col) {
    return getSubjectsList()[row][col];
    * Function to return the data type of the given column.
    * @param c --
    * the column whose type must be determined.
    * @return Class -- the type of the object in this col.
    public Class getColumnClass(int c) {
    if (getValueAt(0, c) != null) {
    return getValueAt(0, c).getClass();
    return new String().getClass();
    * Function to put a value into a table cell.
    * @param value --
    * the object that will be put.
    * @param row --
    * the row that the object will be put.
    * @param col --
    * the col that the object will be put.
    public void setValueAt(Object value, int row, int col) {
    * TODO: Have a boolean value to determine whether to clear or
    to set.
    * if true clear else set.
    if (value != null) {
    if (getSubjectsList()[0][col] instanceof Integer
    && !(value instanceof Integer)) {
    try {
    getSubjectsList()[row][col] = new
    Integer(value.toString());
    fireTableCellUpdated(row, col);
    } catch (NumberFormatException e) {
    * JOptionPane .showMessageDialog( this., "The \""
    +
    * getColumnName(col) + "\" column accepts only
    values
    * between 1 - 12");
    return;
    System.out.println("Value = " + value.toString());
    System.out.println("Column = " + col + " Row = " + row);
    // column = Grade or column = Select
    switch (col) {
    case 2:
    try {
    // TODO
    if (Boolean.getBoolean(value.toString()) == false
    && getValueAt(row, 0) != null
    && getValueAt(row, 1) != null
    && getValueAt(row, 2) != null) {
    // subjectsList[row][col + 1] = new
    Boolean(true);
    System.out.println("2. false - Updated...");
    * this.subjectListModel.add(row,
    * this.subjectsList[row][0] + new String(" -
    ") +
    * this.subjectsList[row][2]);
    } catch (ArrayIndexOutOfBoundsException exception) {
    exception.printStackTrace();
    break;
    case 3:
    if (Boolean.getBoolean(value.toString()) == false
    && getValueAt(row, 0) != null
    && getValueAt(row, 1) != null
    && getValueAt(row, 2) != null) {
    System.out.println("3. If - Added...");
    getSubjectsList()[row][3] = new Boolean(true);
    this.subjectListModel.addElement(this.subjectsList[row][0] +
    * new String(" - ") + this.subjectsList[row][2]);
    // subjectListModel.remove(row);
    fireTableCellUpdated(row, col);
    fireTableDataChanged();
    // this.doDeleteSubject();
    } else if (Boolean.getBoolean(value.toString()) ==
    true
    && getValueAt(row, 0) != null
    && getValueAt(row, 1) != null
    && getValueAt(row, 2) != null) {
    setValueAt("", row, col - 1);
    setValueAt("", row, col - 2);
    setValueAt("", row, col - 3);
    System.out.println("3. Else - Cleared...");
    // this.subjectListModel.remove(row);
    break;
    default:
    break;
    }// end switch
    getSubjectsList()[row][col] = value;
    fireTableCellUpdated(row, col);
    fireTableDataChanged();
    }// end if
    }// end
    * Function to enable edition for all the columns in the table
    * @param row --
    * the row that must be enabled.
    * @param col --
    * the col that must be enabled.
    * @return boolean -- indicate whether this cell is editble or
    not.
    public boolean isCellEditable(int row, int col) {
    if (row >= 0
    && (col >= 0 && col <= getNotEditable())) {
    return false;
    return true;
    * Function to get the column names for the model
    * @return Returns the columnNames.
    public String[] getColumnNames() {
    return this.columnNames;
    * Function to set the column names for the model
    * @param cols
    * The columnNames to set.
    public void setColumnNames(String[] cols) {
    // if the column names are null the default columns are used
    if (cols != null) {
    this.columnNames = cols;
    * Function to get the rows of subjects for the model
    * @return Returns the subjectsList.
    public Object[][] getSubjectsList() {
    if (this.subjectsList == null) {
    this.subjectsList = new
    Object[getTotalRows()][getColumnNames().length];
    return this.subjectsList;
    * Function to set the subjects list for the model
    * @param subjects
    * The subjectsList to set.
    public void setSubjectsList(Object[][] subjects) {
    // if the subject list is null create a new one
    // using default values
    if (subjects == null) {
    this.subjectsList = new
    Object[getTotalRows()][getColumnNames().length];
    return;
    this.subjectsList = subjects;
    * Function to get the total number of rows for the model. <b>NB:
    </b> This
    * is different to <code>
    getRowCount()</code>.<code>totalRows</code>
    * is the initial amount of rows that the model must have before
    data can be
    * added.
    * @return Returns the totalRows.
    * @see #setTotalRows(int)
    public int getTotalRows() {
    return this.totalRows;
    * Function to set the total rows for the model.
    * @param rows
    * The totalRows to set.
    * @see #getTotalRows()
    public void setTotalRows(int rows) {
    // if the rows are less than 0 the defaultRows are used
    // set getTotalRows
    if (rows > 0) {
    this.totalRows = rows;
    * Function to get the number of columns that is not editble
    * @return Returns the notEditable.
    public int getNotEditable() {
    return this.notEditable;
    * Function to set the number of columns that is not editable
    * @param notEdit The notEditable to set.
    public void setNotEditable(int notEdit) {
    if (notEdit < 0) {
    notEdit = 0;
    this.notEditable = notEdit;
    ----------------------------END TABLE MODEL----------------------------------

    I hope you don't expect us to read hundreds of lines of unformatted code? Use the "formatting tags" when you post.
    Why are you creating your own TableModel? It looks to me like the DefaultTableModel will store you data. Learn how to use JTable with its DefaultTableModel first. Then if you determine that DefaultTableModel doesn't provide the required functionality you can write your own model.

  • Our illustrator files are not showing up when uploaded to creative cloud.

    Our illustrator files are not showing up when uploaded to creative cloud. They are visible sometimes when we turn on and off the layers. Please help thanks.

    If you feel that you have enough evidence of the symptoms, use the feedback at http://www.apple.com/feedback/itunesapp.html to let Apple know. The "feedback type" of "bug report" has been removed from the iTunes feedback, so I suggest you use use "Other".
    You will not receive any feedback from them, but they do read the submissions and act upon them. It can take a while, and more than one iTunes update before the issue is resolved.

  • ITunes shows the music and audiobooks I've loaded to my iPod Touch, but they do not show up when I try to play them.

    iTunes shows the music and audiobooks I've loaded to my iPod Touch, but they do not show up when I try to play them.  I reconnect to iTunes and it shows the music and books as being loaded on my iPod.
    Sometimes the audiobook will play, then disappear from iPod's play menu after I reconnect to iTunes and load more music.  I've got plenty of free memory, and iTunes shows the files still on iPod.
    ....or should I just roll it back to iOS 5...  never had these kinds of issues with the old OS.

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all AB and resync
    To delete all ADgo to Settings>General>Usage>Storage>Manage Storage>AB and try deleting them from there
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       

  • HT1304 I have an iphone5 and i did the upgrade.  Now all of the music videos that I have purchased on itunes do not show up when the phone is held horizontally.  It is just a picture of album covers.  Any thoughts?

    I have an iphone 5 and I did the upgrade.  Now all of the music videos that I purchased on itunes do not show up when I hold the phone horizontally.  It is just a picture of album covers.  Any thoughts?
    thank you

    someone swapped upgrades.  Phone could have been sold For quick cash. 

  • A june 2012 icloud backup shows up on my icloud storage manage list, but does not show up when i try to restore from icloud backup. what to do?

    Question repeated: A june 2012 icloud backup shows up on my icloud storage manage list, but does not show up when i try to restore from icloud backup. what to do?
    I want to restore from my june 2012 backup because it contains pictures that i lost when my phone broke in september. if anyone could help that would be awesome. thanks

    Did you tap "Show older backups" on the Choose Backup screen (see image below)?

  • I downloaded an app in the itunes app store on my pc and it's in my library, but it will not show up when i click ipod then apps?

    I downloaded an app in the itunes app store on my pc and it's in my library, but it will not show up when i click ipod then apps?

    You need to sync the app to the iPod
    iTunes: Syncing media content to iOS devices and iPod       
    Is the app compatible with your model iPod and iOS?
    Are any Restrictions set that would prevent installing the app on your iPod? Settings>General>Restrictions
    Do any apps no sync to the iPod?
    Does any media now sync to the iPod?
    Have you successfully synced aps to this iPod from this iTunes library before?

  • I have just downloaded a free app and there is no icon and it will not open from the list even tho it appears to have downloaded and the "open" button is available.  Does not show up when I search for it.  Plenty of memory . . .

    I Have an iPad mini running iOS 7.1.2,  I downloaded a new app and it's icon does not appear anywhere ( have ~ 180 apps so not at limit) and it won't open from the purchased apps list.  It does not show up when I search for it so can't open t that way either.  It doesn't require iOS 8.  Can't delete and reinstall, cause not icon.  This is not a normal "app won't open" question.  it doesn't start the. Stop it just doesn't seem to exist.  Any help is appreciated

    Hello Chelleuri,
    Thank you for using Apple Support Communities. 
    The following article provides information to trroublehshoot issues with installed apps, including not opening.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Regards,
    Jeff D. 

  • My mac will not show images when on the internet?

    My mac will not show images when on the internet?  I think I have inadvertently changed some settings but nor sure which one.

    I am going to assume you are using Safari here. If so then go to the Apple menu bar and hit Safari-> Preferences.  Under the Apperance tab there is a check box that is called "Display images when the page opens".  Check if that is unticked.

  • The names of my contacts are not showing up when I receive text messages

    The names of my contacts are not showing up when I receive text messages, only the number is showing up. How can I fix this?

    This is a HUGE iOS bug.. Following a tip from another poster, I was able to fix the issue (temporarily).
    This worked for me on Verizon.
    I dialed *228 on my Verizon phone. I pressed "1" to activate it over the air. I then went into task manager and killed all the running apps.. Waited a few minutes.
    The next text I got displayed the number correctly!.. Until I rebooted, that is.
    PLEASE, call Apple and speak with a senior engineer on this. They can't fix it if they don't know it's a problem! (800) MY-IPHONE

  • Put movies in itunes on one computer why does it not show up when i access itunes from other computers or ipad2?

    put movies in itunes on one computer why does it not show up when i access itunes from other computers or ipad2?

    i just purchased a file that had videos in it. i put them in the itunes library on my pc where i first downloaded them. i was able to transfer them to my other pc, a laptop, through my home network. i am now trying to get them on my mac pro desktop and my ipad2. my mac pro can see the other computers on my home network but i cannot get it to connect to them. i know the operating systems are different but was hoping i could transfer pictures and files from pc to mac this way. haven't been able to get it to work yet. the videos i am trying to get my mac to see came in a folder with both mac and pc versions. i thought if i got the videos i purchased into itunes that i would then be able to get them to my mac pro and my ipad2. i am new to mac/apple and have always been pc-centric so trying to marry it all has been difficult. i speak pc pretty well but am just learning apple. am i trying to do things that are not possible? i sure could use a knowledgable friendly soul to walk me through my issues of having pc and mac on the same network. i have been able to get all computers and ipad to print on my network. thanks.

  • SharePont 2013 Document Library lookup Column Properties not Showing Correctly when editing in Word

    Hi
    I keep seeing this issue albeit intermittently.  I have set up a doc library for my users which has a custom content type (lookup, metadata columns, etc)  . They all appear perfectly most of the time except the lookup column. Sometimes is just
    decides to display the title field of the current library and not the lookup list title .  It is weird as it has been working perfectly for ages given the library is populated with valid documents.
    There are some fixes listed here. Has anyone got any experience of this?
    https://social.msdn.microsoft.com/Forums/azure/en-US/e0b55531-509c-4219-8113-61b3e488de69/document-library-metadata-properties-of-a-content-type-do-not-show-correctly-when-editing-in-word?forum=sharepointdevelopmentprevious
    Freelance consultant

    Hi,
    According to your post, my understanding is that the lookup  column not display well while editing in word.
    Did you customize the Document Information Panel?
    I recommend you edit your custom document information panel or create a new document information panel, then re-publish it to check whether it works.
    https://support.office.com/en-gb/article/Create-or-edit-a-custom-Document-Information-Panel-for-a-content-type-b701a9af-3ea6-4c1a-9e1c-75363bd987c9?ui=en-US&rs=en-GB&ad=GB
    Or you can also use the methods in the post you have pasted to check whether it works.
    As the limitation of the environment, we could not reproduce the issue in our environment.
    I  would suggest you open a case to Microsoft Customer Service via Phone.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How do i get my contacts to show up because they will not show up when i go to my contacts

    How do i get my contacts to show up because they will not show up when i go to my contacts?

    Within Contacts, tap Groups at top left. Make sure all contact groups are checked to show, then tap "Done" at top right.

Maybe you are looking for

  • Is there a way to create drop caps in iBooks Author?

    Is there a way to create initial drop caps in iBooks Author?

  • Converting PMString to std::wstring in InDesign CS6

    I'd have to get the filepath of a resource of the opened document to a std::wstring. I can easily get the filepath of the resource as a PMString: InterfacePtr< ILinkResource > pResource( GetDataBase( LinkManager ), ResourceUIDRef.GetUID(), UseDefault

  • Global template and rollouts vs. Solution Directory

    Hello, I would like to know what is the best way to maintain the global template and the related rollouts documentation. I know the functionality of Solution Directory, ie. it should be the primary place to maintain a solution in production, changes

  • Change BS names while transporting

    Hi I have to Transport objects from Dev to Qas. I am using File Transport and I am downloading it to the client, Desktop.  When I import it to the QAS, will the names of the Business Systems change or do we have to change them manually? How do we inc

  • Issue with Clone Tool and Adjustment Brush in LR5.3

    If I export a .TIFF from LR5.3 in which I've used the Clone Tool or Adjustment Brush Tool and then load the .TIFF up in Photoshop CS2 to perform further edits, I can't save the file to a .JPG - I get a '...program error...' message during the save.