Questions tagged as 'tablemodel'

1
answer

How popular is a JTable with TableModel itself?

When you're messing with
asked by 04.04.2016 / 16:35
1
answer

Implement a "counter" of results

I have a search screen / query of records and when I do the query, for example, from all countries, a label "arrow" how many countries found, (eg 19 countries found) . However, if within these results I type a letter to match a country, for...
asked by 13.03.2017 / 21:14
2
answers

Association has_many through [RAILS 3.2]

I'm having problem with a has_many , through association in a project I'm working on. In the case I need to model a relation that adds the order attribute to the relation table. To try to model the relationship I looked for a...
asked by 07.12.2018 / 20:36
1
answer

Problems with RowFilter result

I'm working with DocumentListener and RowFilter , and I noticed that my filter is picking up the data I type, and searching by matching all columns in my table. I would like to know, how could I choose the column that it should compare, and a...
asked by 15.03.2017 / 13:58
2
answers

Button does not work when code is added to AbstractTableModel

I created a test project to implement in a larger project of a table with a button as one of the elements of the row. It works perfectly, but when I try to add to my code the button does not perform the action that was programmed. It is being do...
asked by 30.10.2018 / 17:31
1
answer

Data not displayed in table by AbstractTableModel

I'm developing a ticket request system, however because I have to add JXDataPicker to the table, I had to implement AbstractTableModel . The model apparently complies with the documentation, I can display all the fields, but I ca...
asked by 30.10.2017 / 04:46
1
answer

Add row with empty fields in a JTable

I have a AbstractTableModel only that I do not know how to add blank lines, when I hit the add line button in my frame I want it to call a method called addLine () from my TableTable, can anyone help me? public class ModeloTabela2 e...
asked by 29.04.2016 / 14:53
1
answer

Add financial balance with Jtable

I'm trying to develop a Java sales control program, but I'm having a problem scheduling Jtable's balance. As you can see in the image below, the balance is being updated per line. However, since I declare the initial balance equal to 0, I nee...
asked by 20.05.2017 / 18:10
1
answer

IndexOutOfBounds while populating an AbstractTableModel

I have a AbstractTableModel that has a List filled through a method that fetches the data in the database. The method that fills List has two overloads: one with no parameters (which fetches all data) and one with a search paramete...
asked by 20.05.2017 / 07:08
0
answers

I can not display custom JTable inside the [duplicate] frame

I created a custom table model but it does not load in my frame. Could someone help me? public class PessoaJTable extends JTable{ /** * */ private static final long serialVersionUID = 3182466937648479844L; private PessoaTableModel tabl...
asked by 13.07.2018 / 01:21