How do I control the size of the auto filter pop-up menu for a jtable header. I have some long text as the cell input and the pop-up menu spans across monitors?
columnName =[{'Date'},{'RSS'},{'Title'},{'Description'}];
DTM = javaObjectEDT(com.jidesoft.grid.DefaultTableModel(data,columnName));
jtable = javaObjectEDT(com.jidesoft.grid.SortableTable(DTM));
theader = javaObjectEDT(com.jidesoft.grid.AutoFilterTableHeader(jtable));
theader.setAutoFilterEnabled(true)
% theader.setShowFilterName(true)
theader.setShowFilterIcon(true)
theader.setAllowMultipleValues(true)
jtable.setTableHeader(theader)

JIDE grid developers guide doesn't really touch this issue but it is clear that one can extend AutoFilterTableHeader to control the width of the pop-up panel which indeed is a jpanel. Instead of attaching listener to the popup and then changing the width of the panel; I override PopupPanel (including its super classes) and set width equal to width of the current column and it works well.
But still remains one unresolved issue; when jide's custom filter is selected and a condition is set, the dialog box size is still spanning across the monitors. Any ideas on how to fix that now? Any direction you give would be helpful to a non programmer like me. Thank you.
Popup Width set properly
Custom Filter Dialog size still messed up