tablecelleditor Questions
2
Solved
I have a JTable with N rows and 2 columns I need to implement a custom CellEditor class to access the data input of each cell with
table.getCellEditor(int row, int column).getCellEditorValue()
I...
Beaubeauchamp asked 9/4, 2012 at 18:8
1
Solved
You guys were so awesome in point me in the right direction on my last question and I have sort of an extension of my original question here:
How to set a JTable column as String and sort as Doubl...
Thrombo asked 8/4, 2012 at 22:26
3
Solved
I use a custom TableCellRenderer with multiple JFormattedTextField in the table cells. I use the same component as TableCellEditor. Now I need to know in what JFormattedTextField the user clicked, ...
Alphanumeric asked 22/12, 2011 at 1:36
2
Solved
If someone edit the cell content of a JTable and press enter, the content is modified and the table selection moves to the next row.
Is that possible to forbid the JTable to go to the next row af...
Staceystaci asked 1/11, 2011 at 18:11
1
I have a JTable with a column containing a JComboBox.
I have an ItemListener attached to the JComboBox which acts upon any changes.
However, ItemListener does not have a method for obtaining the ...
Jamin asked 8/9, 2011 at 15:19
2
Solved
I have a cell editor that contains a little button and then a textfield that can be used to edit the value inline
I use setSurrendersFocusOnKeystroke(true) and a focus listener in order to allow ...
Sousaphone asked 22/10, 2010 at 9:42
3
Solved
I am creating a app in Java. I need to provide additional behavior when editing of a cell in a JTable. So ideally this will happen when the cell loses focus after editing. Depending upon some post ...
Austria asked 17/11, 2009 at 5:36
2
This is a follow-up to these earlier questions:
How to stop editing with DefaultCellEditor when a separate JBtton is pressed
Sun Bug 4724980: JTable: Add API to control what happens to edits when ...
Forenamed asked 14/8, 2009 at 8:55
3
Solved
I got a table with a custom TableCellEditor (extending DefaultCellEditor) with a JFormattedTextField as the editor component.
Now I got problem: when I press a separate button while editing. When ...
Swelter asked 18/12, 2008 at 14:1
3
Solved
I am trying to add a column to a JTable with the following behaviour (similar to Windows Explorer and similar shells):
The cell can be clicked once to select it, as usual.
The cell can be double-...
Tharp asked 12/8, 2009 at 19:24
© 2022 - 2024 — McMap. All rights reserved.