The current implementation of org.openide.awt.QuickSearch shows the search
field, after the user starts typing something. This automatic behavior is not practical for some usages (e.g. options dialog). Therefore, we should allow to always show the search field.
Created attachment 122269 [details]
The proposed patch
Please review. Thank you
Created attachment 122594 [details]
This patch makes the quicksearch always visible in the options window. Please review. Thank you
The change is fine for me.
But the line "searchPanel.setBackground(component.getBackground());" is in trunk already (I've already added this), so please do not add it again.
Also, the current specification version is 7.48 already, therefore the new one should be 7.49, like in the first patch.
Created attachment 122620 [details]
You are right. I made the changes. Thank you Martin. If there are no more comments I will integrate tomorrow.
Integrated in core-main: http://hg.netbeans.org/core-main/rev/5c58285a6b1b
Integrated into 'main-golden', will be available in build *201208030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Theofanis Oikonomou <firstname.lastname@example.org>
Log: Issue #215833 - Allow customization of whether quick search field should always be shown, or not.