1. JTable -> Custom Cell Renderer -> JTextArea coderanch.comHi,Ravi. I'm intrested in your cellrender.Do you use it due to multiline table?Once I implement a cellrender like you.But it looks not very nice in JDK1.4.Can you share your cellrender with me?If anyone can add a scrollbar,that's better.I guess your render just render the TextArea.Maybe you need a render can render scrollbar too. |
2. Custom Cell Renderer for JTable coderanch.comHI, I am so sorry, i forgot to change that line and add some more to the description. Here are the changes:- that line is as follows:- remtable.setDefaultRenderer(remtable.getColumnClass(remtable.columnAtPoint(q)), renderer); As you can see above i am using Point q. This Point is also passed to this Reminder class to get the column class as shown in the line of code above. ... |
3. Custom Cell renderer... A solution? coderanch.comErm hard-to-tell as there's no code but I don't think the problem is in the rendering, especially if you can already see the combo boxes. My guess is maybe the delete code isn't firing the tableRowsRemoved event but I really don't know until I see some code. Try creating a Short Complete Example (Google it) and it might help work out ... |
5. Facing the Problem When I placed my Custom ComboCheckBox in JTable cell java-forums.orgFacing the Problem When I placed my Custom ComboCheckBox in JTable cell Hi Every one I have written a ComboBox which is having the CheckBox options. I want to render the ComboCheckBox in the table cell. Please help me out in writing the Tablemodel and Renderer for this. I am pasting the Code which displays a Frame with ComboCheckBox ... |