Java JTable Cell Editor setUneditable(JTextComponent... components)

Here you can find the source of setUneditable(JTextComponent... components)

Description

set Uneditable

License

Open Source License

Declaration

public static void setUneditable(JTextComponent... components) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.text.JTextComponent;

public class Main {
    public static void setUneditable(JTextComponent... components) {
        for (JTextComponent component : components) {
            component.setEditable(false);
        }//from   w w w.  j  a  v  a  2  s. com
    }

    public static void setEditable(JTextComponent... components) {
        for (JTextComponent component : components) {
            component.setEditable(true);
        }
    }
}

Related

  1. setDefaultTableEditorsClicks(JTable table, int clickCountToStart)
  2. setEditable(JSpinner spinner, boolean bool)
  3. setEditable(JTextComponent component, boolean editable)
  4. setEditable(JTextComponent... components)
  5. setEditableFalse(JTextField field)
  6. setupComboBoxEditor(TableColumn column, Object[] values)
  7. stopCellEditing(JTable table)
  8. stopCellEditing(JTable table)
  9. stopEditing(JTable table)