Skip to main content

How to localize the PatternModel-MatchRules for display on a FindPanel?

No replies
tl5
Offline
Joined: 2008-11-20
Points: 0

I'm using the great Find and Replace All in a JXTable example from java.net/projects/jdnc-incubator/sources/svn/content/trunk/src/kleopatra/foreign/paultaylor/table/FindReplaceAllTableExample.java .

For the Buttons and Labels there are values which could be set with the UIManager:

UIManager.put( PatternModel.SEARCH_PREFIX + FindReplaceAllTableExample.FindAllSearchFactory.FindAndReplacePanel.FIND_ALL_ACTION_COMMAND, "Find All" );

But I had no luck while trying to localize the Strings ("contains", "equals", "starts with", "ends with") of the MatchRule-ComboBox. What is the recommended way to set these?