How to add Menu Bar in TableFilterExample.java in a JPanel
36 views
Skip to first unread message
Jim
unread,
Jul 8, 2020, 1:42:56 PM7/8/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tablefilter-swing
Hi Luis,
Thanks a lot for this great library.
I was able to see the table filters just by passing the JTable object to "TablleFilterHeader filterHeader = new TableFilterHeader(table, AutoChoices.ENABLED);". However, I couldn't find how to add the menu bar and menu items such as Table, Filter Header, Filters and Miscellaneous that we see when we run TableFilterExample.java file. Could you please help me with the steps to show the above mentioned Menus inside a JPanel?
Thank you.
Jim.
coderazzi
unread,
Jul 9, 2020, 6:34:37 PM7/9/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tablefilter-swing
Hi, Jim,
the menu bar / menu items are not part of the tablefilter library,
they are just part of the TableFilterExample code.
You could have a look at the class TableFilterExample.java, it
contains all the code to add the menu functionality.