Questions tagged as 'jtable'

1
answer

How popular is a JTable with TableModel itself?

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

How do I make the JTable values the same as the ArrayListPessoa?

I have an example program that adds objects of the type of my class Pessoa to a JTable and also to ArrayList<T> , this program has three basic functionalities which are as follows: Add Change Delete See the pr...
asked by 18.10.2016 / 23:25
1
answer

How do I populate a JTable?

I have a fairly simple java application that connects to a database, in the console I type the query I want to pass by parameter to the executeQuery. Now I need to pass all this to a graphical interface. Is there any way I can create just one wi...
asked by 10.06.2014 / 06:03
1
answer

JTable getValueAt () behaving differently than expected

I have a JFrame where there is a JTable that displays some data. When the user selects some records and clicks a certain button, these selected records must be deleted. When only one record is selected, everything works perfectly, but problem...
asked by 19.11.2016 / 02:22
1
answer

RowFilter.regexFilter does not filter columns of type Date in JTable

I have JTable with a TableModel custom, and I'm trying to run a search field using JTextField . However, columns of type Date and my class Cadastrante are not searched. In my TableModel , I overwritten...
asked by 08.04.2016 / 15:27
1
answer

How popular is a JTable using a .txt file?

I would like to know how to make a JTable popular using a pre-existing text file. IhaveaquerytableandIwanttheusertoputtheaccountnumber,itshowsthedatainJtableandalsohowcanIdothefilteringbytheagencynumber?Thedatafrommytextfile: link...
asked by 03.05.2015 / 03:44
1
answer

How to color specific lines of a JTable?

I'm developing a Java application that involves a JTable , I need to paint some red lines depending on the age and status of that line. I'm using a DefaultTableModel to populate my table. I do not know how to start. Could you...
asked by 06.02.2014 / 16:34
2
answers

Fixed column of a JTable in a JScrollPane

How do I leave a column of a fixed JTable (without scroll) inside a JScrollPane? I want to leave the first column of a fixed table, the scroll bar will only scroll from the second column onwards, the first one should always be visible. I e...
asked by 29.01.2014 / 18:26
1
answer

Insert data into a table from a Java form (Netbeans + SQL Server)

I have a form created so that you can enter data on a client and from that form open a button with a button that has the data, so far I have been able to make the button connection. Now my question is how can I send the form data to the table .....
asked by 03.06.2015 / 16:29
2
answers

Return information from the jtable row after selection

I have an application with 2 JFrames .. 1st JFrame: A screen with a search button and JTextField 2nd JFrame: A JTable with DB information. When I click the search button in the 1st Frame it opens the JTable with the DB informatio...
asked by 10.07.2016 / 19:48