protected JMenuItem createColumnMenuItem(ActionListener listener,DataLineModel<?,?> model,LimeJTable table,int i){
  Object id=model.getColumnId(i);
  String name=model.getColumnName(i);
  JCheckBoxMenuItem item=new SkinCheckBoxMenuItem(name,table.isColumnVisible(id));
  item.putClientProperty(COLUMN_ID,id);
  item.addActionListener(listener);
  return item;
}

protected JMenuItem createColumnMenuItem ( ActionListener listener , DataLineModel < ? , ? > model , LimeJTable table , int i ) { Object id = model . getColumnId ( i ) ; String name = model . getColumnName ( i ) ; JCheckBoxMenuItem item = new SkinCheckBoxMenuItem ( name , table . isColumnVisible ( id ) ) ; item . putClientProperty ( COLUMN_ID , id ) ; item . addActionListener ( listener ) ; return item ; }
creates a single menu item for a column .
