Is it possible to put a JPanel within a JTable cell?





I have been able to add many different types of components to JTabel
cells such as Combo boxes, check boxes, etc.. but when I try adding a
JPanel I am unsuccessful. Is it possible to add a JPanel to a JTable
cell? I accomplish adding comboboxes, checkboxes, etc by telling the
custom table manager the type of class that should be displayed in
that particular column. (i.e: to display a combo box I specify
JComboBox.class) when I specify in the custom table manager that I
would like to display items of type JPanel.class, I am unable to see
the JPanel.

Has anyone been able to add a JPanel to a JTable or am shooting myself
in the foot?

Thanks for any advice.

- Nigel

.



Relevant Pages

  • Having trouble with "vbcr"
    ... When I use "vbcr" in trying to display text in text boxes and cells, ... Instead of my text being moved to the next line, the carriage return ...
    (microsoft.public.excel.programming)
  • Is it possible to put a JPanel within a JTable cell?
    ... cells such as Combo boxes, check boxes, etc.. ... Is it possible to add a JPanel to a JTable ... would like to display items of type JPanel.class, ...
    (comp.lang.java.programmer)
  • Userform Defaults Text Box with Time
    ... values currently in the cells to display in the text boxes. ... Private Sub UserForm_Activate ...
    (microsoft.public.excel.programming)
  • Re: Is it possible to put a JPanel within a JTable cell?
    ... cells such as Combo boxes, check boxes, etc.. ... Is it possible to add a JPanel to a JTable ... would like to display items of type JPanel.class, ...
    (comp.lang.java.programmer)
  • Multiple combo boxes
    ... selected from 2 combo boxes to produce a given output. ... second combo box to display only the data from cells B1 to ... and again from the first combo box selecting 'A2' to ... display only the data from cells C1 to C10. ...
    (microsoft.public.excel.worksheet.functions)