Posts by Rafael Chaves • 33 points
8 posts
-
0
votes1
answer99
viewsQ: Error while trying to implement Jtextarea in Jtable
I’m trying to use this JTextArea in some columns of mine JTable, but something’s going wrong. I know it’s wrong, but I’m using DefaultTableModel. public class TextAreaCellRenderer extends JTextArea…
-
-1
votes1
answer552
viewsQ: How to take time from one field and add up to 3 minutes in another?
I’d like to know how to get to the time of the field txt_hora and move on to the txt_hora2 adding up +3 minutes. In case on the field one would be 09:50 and move on to the other 9:53. Here I enter…
-
0
votes1
answer563
viewsQ: Jtable currency format
I am making a Cellrender with currency format. I placed 13 columns in a jtable, one has the recipes (Salary, 13th salary, Overtime).. and other 12 with the months. each month the person will enter…
-
-1
votes1
answer279
viewsQ: Copy a Jtextfield date to a Jdatechooser
Currently I mirror the JDateChooser for a JTextField, but now I need to mirror a JTextField for a JDateChooser. How to copy and convert a date from a text field to Jdatechooser? I use it this way to…
-
-4
votes1
answer70
viewsQ: Add one more check, how to proceed?
I would like to know how to add 1 more check. I would like to have row 31 checked as well. Example: Object obj2 = modelo.getValueAt(linha, 31); In this code here. else if…
-
-1
votes1
answer135
viewsQ: Check null, how to proceed?
How to put to check if the cell is empty in this method? public void VerificarResultdo() { int linha = CadresultadoTabela.getSelectedRow(); int coluna = CadresultadoTabela.getSelectedColumn();…
javaasked Rafael Chaves 33 -
0
votes1
answer1357
viewsQ: Put access restricted login permission
I’m using a code that was already made by someone, I made some modifications regarding what I wanted. This code has 2 types of "Administrator and Employee" access that you would like when you login…
-
-1
votes1
answer267
viewsQ: Jtable only accept float numbers in your cell
I’m using this code to accept only numbers in the jtable cell, but I’d like to know how to accept . too. Someone can help me? I’m using Java Language on the netbeans platform. TableColumn col =…