CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Posts
    4

    new cell renderer

    Hi,

    I need a to put a combo box in a cell of my JTable. To do this, I have a JPanel which implements TableCellEditor and TableCellRender and which contains a JCombo. The problem is, I can´t get the combo to work.

    Can anybody help me?


  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: new cell renderer

    Frankly, I haven't tried to put combo-box in JTable. But I know that if u want a cell to be editable (ie u combo-box working), u need to return 'isEditable' true for that cell in the TableModel. Have u done that?

    If no, that may be a problem.
    If yes, I don't know the soln then. I'm sorry.

    - UnicMan
    http://members.tripod.com/unicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured