Most voted "tablemodel" questions
Tablemodel is part of the Java Swing Jtable, providing content for table construction, and accepting cell editing events from the table.
Learn more…13 questions
Sort by count of
-
11
votes1
answer4373
viewsHow to popular a Jtable with own Tablemodel?
When you’re messing with swing, we almost always come across having to handle tables and populate them with some kind of information. For simpler situations, the DefaultTableModel resolves, but when…
-
3
votes2
answers144
viewshas_many through association [RAILS 3.2]
I’m having trouble with an association has_many, through on a project I’m working on. In case I need to model a relation that adds the attribute order to relation table. To try to model the…
-
3
votes1
answer203
viewsImplement a "result counter"
I have a search/query register screen 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…
-
3
votes1
answer165
viewsProblems with Rowfilter output
I’m working with Documentlistener and Rowfilter, and I realized that my filter is taking the data that I type, and searching for correspondence in all the columns of my table. I would like to know,…
-
2
votes2
answers80
viewsButton does not work when code is added to Abstracttablemodel
I created a test project to implement in a larger table project with a button as one of the row elements. It works perfectly, but when I try to add to my code the button does not perform the action…
-
2
votes1
answer155
viewsData is not displayed in the table by Abstracttablemodel
I am developing a ticket request system, but for having to add a JXDataPicker in the table, I had to implement the AbstractTableModel. The model apparently agrees with the documentation, I can…
-
1
votes1
answer628
viewsAdd line with empty fields in a Jtable
I have a AbstractTableModel only that I do not know how to add blank lines, when pressing the add line button on my frame I want it to call a method called addLine() of my Modelotabela, someone can…
-
0
votes1
answer44
viewsHow to load database data to a jtable
At the time of execution appears the error message of this excerpt and I am not able to find the error. I know the connection to the bank is right because I have other classes in the same program…
-
0
votes2
answers1217
viewsUpdate Jtable using Defaulttablemodel
I understand that the use of Defaulttablemodel is almost abhorrent, however, I used this model and now I have no time to change to a Tablemodel (which I haven’t learned to use yet), is there any way…
-
0
votes1
answer76
viewsIndexoutofbounds when filling an Abstracttablemodel
I have a AbstractTableModel who owns a List filled by a method that searches the data in the database. The method that fills the List has two overloads: one without any parameter (that searches all…
-
0
votes1
answer573
viewsAdding Financial Balance with Jtable
I’m trying to develop a sales control program in Java, but I have a problem when it comes to scheduling Jtable’s balance. As you can see in the image below, the balance is being updated per line.…
-
0
votes0
answers31
viewsI can’t show custom Jtable inside the frame
create a custom table model but do not click on my frame. Someone could help me? public class PessoaJTable extends JTable{ /** * */ private static final long serialVersionUID = 3182466937648479844L;…
-
-1
votes1
answer157
viewsError setting model in Jtable
So people, I was developing a frame that received a table from the database, I used the same scope of the function several times and it worked perfectly, I just modified the necessary to generate…