You must to have the model, like next code:
TableColumnModel columnModel = tableView.getColumnModel();
TableColumn colorColumn = columnModel.getColumn(0); //get the desire column
DefaultTableCellRenderer colorColumnRenderer = new DefaultTableCellRenderer();
colorColumnRenderer.setForeground(Color.red); //to change the color
colorColumnRenderer.setBackground(Color.gray);
colorColumnRenderer.setHorizontalAlignment(JLabel.RIGHT); //here you aling...
colorColumn.setCellRenderer(colorColumnRenderer);
When the cell is editing if you want the same aling also you must to define the aligned like that
JTextField texto= new JTextField();
texto.setHorizontalAlignment(JTextField.RIGHT);
colorColumn.setCellEditor(new customEditor(texto));
This works for me...