Reputation: 4511
I am using Eclipse juno
. I have started learning java
and I am facing an issue in creating package
within the package. I am getting a flat view of the packages. I want to create a package com.soft.entity
that is com package contains soft package which further contains entity package.
PFA the screenshot
Screenshot 2:
screenshot 3
screenshot 4
Any lead is appreciated.
Thanks
Upvotes: 0
Views: 1946
Reputation: 9080
Put the package name as:
com.soft.entity
In the option: File > New > Package
See my screenshot:
To see in hierarchical view see my screenshot:
You'll see the hierarchical structure when you added more packages, if you only have one, you'll see it in a single line.
For instance, adding a second package:
Upvotes: 1