Hi, Will swing/text/html support html5 in the future ? Best regards.
Abossolo Foh Guy 71 rue Guy de Maupassant 69500 Bron > Le 7 sept. 2018 à 14:00, [email protected] a écrit : > > Send swing-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.openjdk.java.net/mailman/listinfo/swing-dev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of swing-dev digest..." > > > Today's Topics: > > 1. Re: [12] RFR JDK-8203281:[Windows] JComboBox change in ui > when editor.setBorder() is called (Prasanta Sadhukhan) > 2. [12] RFR [TEST][JDK-8210056] Enable different look and feel > tests in SwingSet3 demo test TextFieldDemoTest (Muneer Kolarkunnu) > 3. [12] RFR JDK-8192888: AllSwingComponentsBaselineTest fails > with NullPointerException for NimbusLookAndFeel (Prasanta Sadhukhan) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 6 Sep 2018 23:04:38 +0530 > From: Prasanta Sadhukhan <[email protected]> > To: Sergey Bylokhov <[email protected]>, Martin M > <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: <Swing Dev> [12] RFR JDK-8203281:[Windows] JComboBox > change in ui when editor.setBorder() is called > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > Ping? It's been a month. > > Even if JDK-6490753 fix is not only for Vista, but a portion of it > [where I propose a fix] is causing issue in windows7, 10, so it is > modified to make sure it works correctly in windows7-10. It will also > not affect windows vista. > Please provide comments on this. > > Regards > Prasanta >> On 8/9/2018 3:09 PM, Prasanta Sadhukhan wrote: >> Gentle reminder. >> >> I guess it's for vista as the bug description states it's for >> >> Vista Info: >> =========== >> Vista Build No: 5840 >> Vista Theme: Default Theme(Aero) >> >> Regards >> Prasanta >>> On 8/2/2018 12:27 AM, Sergey Bylokhov wrote: >>> Hi, Prasanta. >>> I am not sure that previous fix[JDK-6490753] was implemented for >>> Vista only. >>> Maybe Martin (CC) can take a look to this? >>> >>>> On 01/08/2018 10:11, Prasanta Sadhukhan wrote: >>>> Hi All, >>>> >>>> Please review a fix for an issue where it is seen that combobox gets >>>> an unwanted border around it. >>>> This is a aftereffect of JDK-6490753 >>>> <https://bugs.openjdk.java.net/browse/JDK-6490753> where am empty >>>> border is added to combobox to make it look like Vista native combobox. >>>> Proposed fix is to make sure no empty border is drawn if windows >>>> version is not vista. >>>> Here's the combobox looks like before and after fix in windows 10 >>>> and 7. >>>> >>>> Before fix >>>> >>>> After Fix >>>> >>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8203281 >>>> webrev: http://cr.openjdk.java.net/~psadhukhan/8203281/webrev.0/ >>>> >>>> Regards >>>> Prasanta > > > > ------------------------------ > > Message: 2 > Date: Fri, 7 Sep 2018 00:13:46 -0700 (PDT) > From: Muneer Kolarkunnu <[email protected]> > To: [email protected] > Subject: <Swing Dev> [12] RFR [TEST][JDK-8210056] Enable different > look and feel tests in SwingSet3 demo test TextFieldDemoTest > Message-ID: <ee898e65-aa5f-4c24-aa04-d5a61e74cc96@default> > Content-Type: text/plain; charset="us-ascii" > > Hi All, > > > > Please review the fix to add support for testing for all the available look > and feels for the TextFieldDemoTest. > > Task: https://bugs.openjdk.java.net/browse/JDK-8210056 > > Webrev Link: http://cr.openjdk.java.net/~akolarkunnu/8210056/webrev.00/ > > > > > > Summary: We use "availableLookAndFeels" dataProvider from TestHelpers class > to run the test iteratively using all the available look and feels. > > But there were some issues while running this test directly on different look > and feels. > > Issues: > > In MotifLookAndFeel it was failing because the 'passwords not match' color is > not white. > In NimbusLookAndFeel it was failing because the password1.getBackground() > returns javax.swing.plaf.nimbus.DerivedColor object. > > Please see the bug description for the exception stack trace. > > > > Regards, > > Muneer > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180907/ead1d7f0/attachment-0001.html> > > ------------------------------ > > Message: 3 > Date: Fri, 7 Sep 2018 16:27:47 +0530 > From: Prasanta Sadhukhan <[email protected]> > To: "[email protected]" <[email protected]> > Subject: <Swing Dev> [12] RFR JDK-8192888: > AllSwingComponentsBaselineTest fails with NullPointerException for > NimbusLookAndFeel > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > Hi All, > > Please review a fix for an issue where obtaining baseline for Button UI > in Nimbus L&F results in NPE. > Reason for it is when SynthPanelUI#installDefaults is called during > frame instantiation, it calls SynthPanelUI#updateStyle which sets the > context AND then the style > /private void updateStyle(JPanel c) {// > //??????? SynthContext context = getContext(c, ENABLED);// > //??????? style = SynthLookAndFeel.updateStyle(context, this);// > //??? }/ > Now, SynthContext.getContext is called with style "null" as style is > updated after calling getContext. > ?So, when getBaseline is called and it tries to invoke > context.getStyle().getGraphicsUtils() it causes NPE. > > Proposed fix is to updateStyle for this context for this SynthUI object > if style is found to be null. > > Bug: https://bugs.openjdk.java.net/browse/JDK-8192888 > webrev: http://cr.openjdk.java.net/~psadhukhan/8192888/webrev.0/ > > Regards > Prasanta > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180907/f4c7c7a3/attachment-0001.html> > > End of swing-dev Digest, Vol 137, Issue 12 > ******************************************
