Questions tagged as 'jtable'

2
answers

JSF Primefaces: Bug when exporting selected rows (excel, pdf)

I have a table on which I can select several rows using a checkbox that would be the column selector : <p:dataTable value="#{cityBean.cities}" var="city" id="dt_cities" widgetVar="w_cities" filteredValue="#{c...
asked by 25.10.2016 / 13:54
1
answer

Update data of a column in JTable without affecting the other data

Good morning. maybe it's something very simple, is there any way to update the data of a column by means of a button? this without affecting the other data of other columns. As you can see in the image, the purpose is to change all the data i...
asked by 15.09.2017 / 18:18
1
answer

"Can not format given Object as a Number" when displaying JTable

Greetings, I have a problem when showing the contents of a database in a JTable table, in a .java project using netbeans. I tried to observe the output of the column with which I get an error, it is the 5th column a data of type Float, the 4t...
asked by 22.04.2017 / 23:29
2
answers

Select multiple alternate rows in a JTable

At the moment I select a row and I click on the send button, it is recorded correctly but when I select several rows, only one row is recorded, as I would do so that all the rows I selected will be recorded. I share an image and the code with wh...
asked by 26.01.2017 / 22:22
1
answer

Problem with CheckBox in JTable - Java

I want to solve a small problem that I have about a project in java and it is that I have a checkbox in a table but he only shows me the value true or false, I want him to show me his corresponding checkbox someone knows how I can solve it....
asked by 01.02.2018 / 16:46
1
answer

Java - Modify a JTable by means of an external Jframe

Hi, I have a question about a JTable . The program works by saving data of a product and then the list, but when wanting to modify by means of an external JFrame (that appears when pressing the EDIT button) I can not modify this data of the...
asked by 23.06.2017 / 11:14
1
answer

JTable does not appear in the frame

I have the following code: public class FacturacionGenericaApp extends JFrame { // Componentes Graficos private JFrame frame; /** * Launch the application. */ public static void main(String[] args) { EventQu...
asked by 22.05.2017 / 18:23
0
answers

Doubt dobre JTables and ScrollPane

Good I need help with my code, it does not work ScrollPane . When I try to apply it in a method and add a jTable , I skip the following error :    "JTable can not be converted to int." This is my code: public void llenar...
asked by 04.05.2018 / 17:49
1
answer

How to extract data from multiple cells in a Jtable

I am trying to extract several data from several cells selected from a Jtable. The selection is free. I have only managed to extract a data every time I click on a cell. I have used the following commands from Jtable: MyTable.getSelectedRow an...
asked by 28.10.2017 / 01:54
1
answer

How can you create a JTable with 2 Columns with Checkbox (Boolean) {Yes and No}

and that are validated so that if one is selected, the other one is not selected? Although I do not know if it is better with the RadioButtom for unique selections both work the same as I understand, however in the NetBeans Graphical enviro...
asked by 31.05.2017 / 22:42