Questions tagged as 'jtable'

1
answer

how to put a separator in a jtable java, or that a cell occupies all the columns

I need to put subtitles inside a jtable something like in the image: [! [enter the description of the image here] [1]] [1] Does anyone have any idea how it is done?     
asked by 29.08.2017 / 19:09
1
answer

Pass value of a selected row of jtable to a jcombobox in java

my problem is the following, I have a jtable loaded from the DB and I want to select a row, by pressing enter I am charged a JCombobox that I have in another JFrame which I do: Event pressing enter if ((evt.getKey...
asked by 25.08.2017 / 03:14
1
answer

pass data from one table to another

Good people! I have a Jframe with 2 tables, what I want to do is pass data from one table to the other with a mouseclicked event, which I have achieved, but only one column loads me, that is, if I click with something else from the first table a...
asked by 28.08.2017 / 16:02
0
answers

Pass data from JTable to Jtable with saved auto

Good friends, I present a problem in my code, the question would be: How do I make it so that when passing data from one table to another, those that were already there are not deleted? I am passing a selected row from a JTablePendientes to a...
asked by 14.09.2017 / 20:39
0
answers

Get data from jtable

What I'm trying to do is something complex, first what I have is a table that is being filled with 3 values each time I press a button, so what I want to achieve is that by pressing another button I can get all the data from the table W...
asked by 23.06.2017 / 19:09
0
answers

Display xml in jtable using jdom

I'm trying to visualize a xml , in a jtable , at the moment it only shows me the last element of xml and the rest omits it , I'd like to know where the error is. public void llenar() { SAXBuilder builder = new SAXBuilder(); Fil...
asked by 14.06.2017 / 23:48
1
answer

How to pass data from a JTable to a JDialog?

Hi, I'm trying to pass data from a JTable to a JDialog (attached code). I've also tried this code with a JFrame and all the data passed to the latter (I've already put public and static to both JTextField ), so is there anything wrong...
asked by 25.06.2017 / 10:12
1
answer

How do I keep the value of a selected checkbox on a page? in java

I am working in java web with jsp and I need to show data from a DB in a table, here I must select with a checkbox field and send the data I select to another jsp, paginate the table with Data Tables, but here when I want to choose items from di...
asked by 23.05.2017 / 05:11
1
answer

JTable change object type row java netbeans

Good, I have a problem if I want for example that each column of a table can store a different type of object, for example in the first column a string and in the second a double, How can I do it? Thanks in advance.     
asked by 07.04.2017 / 09:17
1
answer

Apparently jtable (jquery) is already in the past [closed]

Which alternative would you recommend to have the same asynchronous functions of jtable?     
asked by 25.05.2017 / 18:12