> The rendering of the directory names are handled as JLabel w.r.t Look and > feel and also either Details/List view. Though FilePane creates basic > rendering for these two few Look and Feel define their own renderers and also > ComboBox Directory directory name view. Since HTML filtering is not taken > care in any of these renderers, JLabel renders them as HTML document if > nothing is set or specified. > The fix is to get "html.disable" property from JFileChooser and set the same > to JLabel component which renders and set Directory name. Hence applications > can either enable/disable this property and control HTML rendering of > directory name.
Tejesh R has updated the pull request incrementally with one additional commit since the last revision: Review fix ------------- Changes: - all: https://git.openjdk.org/jdk/pull/24439/files - new: https://git.openjdk.org/jdk/pull/24439/files/ebe3d910..d4660c75 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=24439&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24439&range=01-02 Stats: 80 lines in 7 files changed: 16 ins; 21 del; 43 mod Patch: https://git.openjdk.org/jdk/pull/24439.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24439/head:pull/24439 PR: https://git.openjdk.org/jdk/pull/24439