public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
				                boolean hasFocus, int row, int column) {
				            JTextField editor = new JTextField();
				            if (value != null) {
				                editor.setText(value.toString());
				            }
				            editor.setForeground(Color.BLACK);
				            //if(Gui.getCurrentPrescription().getPayStatus()){
				            editor.setFont(new Font("Comic Sans",Font.BOLD, 13));
				            if(!table.getValueAt(row,6).toString().equals("0")){
				            if(table.getValueAt(row,7).equals(true)){
				            editor.setBackground(Color.green);
				            editor.setForeground(Color.BLACK);}
				            else if(table.getValueAt(row,7).equals(false)){
				            editor.setBackground(Color.red);
				            editor.setForeground(Color.WHITE);}}
				            else editor.setBackground(Color.GRAY);
				            
				            return editor;
				        }