RFR: 6659: Remove 'Showing X of Y events...' table message when not applicable

Jessye Coleman-Shapiro github.com+29706926+jessyec-s at openjdk.java.net
Fri Jan 10 14:35:28 UTC 2020


This patch addresses the following issue: 

When a table made with an itemList has more rows than the set maximum that can be shown, it displays a message "Showing X of Y events..." in its last row. This message is not removed if a search is performed on the table that results in fewer then the maximum number of events being displayed. For example, this is seen in the Exceptions page in the Event Log table.
![table-example](https://user-images.githubusercontent.com/29706926/72159945-6cf9c380-338b-11ea-9f32-0fd3a6654709.png)

This patch makes the 'Showing X of Y events...'  table message disappear when less than the maximum number of events that can be displayed populate a table.

-------------

Commits:
 - cd97aca3: Add ability to remove the 'Showing X of Y events...' table message

Changes: https://git.openjdk.java.net/jmc/pull/28/files
 Webrev: https://webrevs.openjdk.java.net/jmc/28/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JMC-6659
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jmc/pull/28.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/28/head:pull/28

PR: https://git.openjdk.java.net/jmc/pull/28


More information about the jmc-dev mailing list