Questions tagged as 'jtable'

0
answers

Create filter with several Parameters

I'm doing a small system where I'm using the TableRowSorter in a table, the TableRowSorter works great, but when I put another parameter to make the previous search filter it does not work and filters me with the previous model This is the co...
asked by 23.08.2018 / 01:05
1
answer

How can I disable the checkbox contained in a table?

I'm starting with java and I had a problem, I have a table that is populated through a MYSQL database, this data is inserted through the "addRow ()" function where I also add a checkbox the problem is I want to disable the checkbox so that the u...
asked by 04.08.2018 / 03:21
0
answers

Display Data in JTable with SOS parameter !!!

Hello guys, greetings from before anything. this time I need your support in a method I'm doing. I'm joining an inner join but no mysql tells me that the syntax is not correct the method shows me the data in a Jtable and search according t...
asked by 31.07.2018 / 20:53
0
answers

Pass a JtextField to a Jtable

I need to pass the information that is placed in a JtextField to a Jtable this is activated when you click on the voton update someone who can help me please this is my code: import java.awt.event.ActionEvent; import java.awt.event.ActionListe...
asked by 26.07.2018 / 19:53
1
answer

Combobox dependent on another combobox in jtable

I have the following situation, in a table I have the department column and another city, the intention is that when you select a department that would be in column 0, the city combobox will automatically load in the next column in the active ro...
asked by 22.07.2018 / 01:58
2
answers

Why does not my excel document come out the same as the JFrame?

This is the Jframe and this is the excel What can I do to make Excel the same Jframe? this is my code import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; im...
asked by 11.07.2018 / 19:34
1
answer

Load 2 ArrayList in a JTable

I have this method that theoretically loads two ArrayList into a JTable public void CargarJTbable() { DefaultTableModel modelo = new DefaultTableModel(); modelo.addColumn("ID"); modelo.addColumn("RUT");...
asked by 27.06.2018 / 12:53
0
answers

Join two TableView in 1?

I present a form that is connected to 2 tables in the BD, my question is: can one form a single table ?, for the moment the form would handle it in two tables, different Code: **@FXML private TableView<Productos> **tblViewProductos**; @F...
asked by 22.06.2018 / 19:01
1
answer

I need to create a schedule in java

It is known that it is impossible (I think) to combine two cells of a jtable, is there a way to simulate that they combine, or is there any other class, that allows to do that? I need to schedule a class in java, thanks.     
asked by 22.06.2018 / 05:31
1
answer

update jTable in jFrame from another jFrame

I am new and I have no experience but I am starting to create my query application, I have a jframe where I show a jtable with the result of a query, when I click on a line of the jtable I keep in a variable the data to look for and show it in a...
asked by 04.06.2018 / 21:10