Select the first package in the package explorer. Press Alt - Shift - N to open the context menu of the new item. Click Package.
Verify that the new package name is an optional package of the source package. For example, if your source package is com.example , the new package might be com.example.gui .
EDIT . If you want to see nested packages, Eugene says you can do this:
Explorer package / View Menu (Ctrl-F10) / Presentation of the package ... / Hierarchical
wchargin
source share