On Tue, 21 May 2024 23:08:17 GMT, Phil Race <[email protected]> wrote:
>> Enhance Font2DTest as follows >> >> - Add main menu Radio Button options so that you select the font to use as >> either >> - (1) Font Family + Style (as now) >> - (2) Font Family + Menu of all members of the Family, replacing the Style >> - (3) List of all fontnames - which can still be adjusted by Style if you >> want. >> The default is (1) so nothing looks different except that I updated the UI >> to use Nimbus instead of Metal. >> >> There's new code to gather these ways of referencing the fonts. >> Also changes were needed for the "Save/Load" options to include the new UI >> state and font settings. > > Phil Race has updated the pull request incrementally with one additional > commit since the last revision: > > 8332416 src/demo/share/jfc/Font2DTest/Font2DTest.java line 1443: > 1441: }); > 1442: > 1443: f.getContentPane().add( f2dt ); Since this is new code, we can remove getContentPane which is not needed for add ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19273#discussion_r1612815044
