Questions tagged as 'jtable'

2
answers

Problem when obtaining the value of the cells of a jtable

A problem arises when I get the value of the cells of a specific column and it is that I want to obtain the order of those data, use: TableRowSorter sorter = new TableRowSorter(ModeloClientes); tablaCliente.setRowSorter(sorter); that...
asked by 24.03.2017 / 04:04
0
answers

Problems viewing data in JTable

Good afternoon, I have the following problem and I want to visualize all the data of an arrayList of type Counter, which is an object that I have created, and I do not know how to add all the counters to that table because I have only managed...
asked by 15.03.2017 / 14:23
1
answer

How do I make a jTable public?

I need to use a value of one jTable (the table is located in another jFrame, inside the same Package) in another jFrame of Java, for this I am using a getSelectedRow (), so far everything is fine, but the code throws me an error, saying that: "j...
asked by 29.11.2017 / 22:14
1
answer

Pass values from one .java to another .java using a button - JAVA [duplicated]

I would like to move / move the data from archivo1.java to another archivo2.java . The relationship will be made by clicking on a button called " button_OK ". How can you pass values from% co_from% file1.java to other...
asked by 16.01.2017 / 09:13
2
answers

adding Jtable cells

Good day, I have a small problem, I have 2 tables in the same panel, one loads pending invoices, by clicking on them they are added to the Janda seguanda, until then everything is perfect, now I have a Jlabel that I need show me the amount that...
asked by 31.08.2017 / 14:47
1
answer

Problem filling in JTABLE with ArrayList

Good evening stack overflow ... I write to you because I have a problem, which, until now I have not been able to solve, I already have 2 days writing and erasing code ... The problem consists of: I create a small graphical interface, to be...
asked by 06.10.2017 / 05:57
1
answer

how to place subtitles in a jtable

I need to place subtitles in a table, meaning that a cell occupies the entire width of the table, someone helps me. thank you very much     
asked by 30.08.2017 / 00:45