1. |
From the menu bar, select Window > Preferences > Java > Organize Imports. |
2. |
The imports list defines the sorting order of import statements. In the imports list, manage the list of package prefixes as follows:
|
3. |
In the Number of qualified imports before * is used field, type the number of import statements that are allowed to refer to the same package before <package prefix>.* is used. This number is called the import threshold. |
4. |
Click OK when you are done. |