RFR: 8205137: Remove Applet support from SwingSet2 [v2]

Alexey Ivanov aivanov at openjdk.java.net
Fri Sep 10 22:04:48 UTC 2021


On Fri, 10 Sep 2021 20:53:06 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:

>> removed support for running demo from applet for J2Ddemo and SwingSet2
>> same PR as 8205137: Remove Applet support from SwingSet2 #5400 (changed branch name)
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8205137: Updated imports
>   
>   Reviewed-by: alichung

In all the files except for `ButtonDemo.java`, you modify the imports only; in case of `ButtonDemo.java`, you also reformat the code. Is it intentional?

The imports in the files were in this order: `javax.*` followed by `java.*`. This order is preserved. However, in the JDK source files, imports from `java.*` usually come before `javax.*`.

What is the preferred order of imports?

-------------

PR: https://git.openjdk.java.net/jdk/pull/5401



More information about the client-libs-dev mailing list