As a JMeter windows is reduced in height or has a too small height and if there's a TableEditor widget in the shown element, the widget could be reduced in heigth to the height of the header row only. It could be useful to limit its minimal height
Setting the minimum size in the makePanel method insures not reducing too much the widget and allows to see if there's at least a row inside By my side I'm using "scroller.setMinimumSize(new Dimension(100, 70));" to set it ... private JComponent makePanel() { JPanel p = new JPanel(new BorderLayout()); JScrollPane scroller = new JScrollPane(table); scroller.setMinimumSize(new Dimension(100, 70)); scroller.setPreferredSize(scroller.getMinimumSize()); p.add(scroller,BorderLayout.CENTER); JPanel south = new JPanel(); ...
Created attachment 33495 [details] limits the minimun size of TableEditor UI widget to show header row and at least 2 data rows patch that fixes the minimum size to the TableEditor UI widget when the windows is size reduced, the widget will no more be reduced until its header height. At least 2 rows will be shown
made a PR#128: https://github.com/apache/jmeter/pull/128
Date: Thu Feb 18 12:51:28 2016 New Revision: 1731061 URL: http://svn.apache.org/viewvc?rev=1731061&view=rev Log: Bug 58870 - TableEditor: minimum size is too small #resolve #128 Bugzilla Id: 58870 Modified: jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java jmeter/trunk/xdocs/changes.xml
Thanks a lot
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3784