Hi Mario, Here is how I understand your problem:
You have a table. In one of the columns, you would like to have a composite widget as renderer/editor i.e., the cell should have a normal editor and a button. Is this correct? If so, you will need to implement your own renderer/editor. Please see: http://lists.canoo.com/mailman/private/ulc-developer/2005/003334.html Thanks and regards, Janak >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Mario H. >Castillo >Sent: Wednesday, August 23, 2006 3:24 AM >To: [EMAIL PROTECTED] Com >Subject: [ULC-developer] Adding [...] to JTable... > > >Janak, > >In the past when if I wanted to show [...] on the a JTable to pop an >extra-item related to that column I extended the TableCellEditor which >returns a Component somewhat like the following code: > >public Component getTableCellEditorComponent(JTable table, Object value , >boolean isSelected, int row, int column){ > JPanel panel = new JPanel(new BorderLayout()); > if (rowModel!=null) > tmpEditor = rowModel.getEditor(row); >panel.add(tmpEditor); > panel.add(customEditorButton, BorderLayout.EAST); > return panel; > } > >However, I can't do this in ULC because ITableCellEditor requires a >IEditorComponent. How can I add a [...] a ULCTable row? > >Extension? > >Thanks >Mario >Abacus Research AG > > > >_______________________________________________ >ULC-developer mailing list >[email protected] >http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
