Is there a possibility, to use two classes which have got equal class names not having to directly specify from which package one of them comes from?
For example:
using com.org.TreeView;
...
TreeView tv = new TreeView();
reg.org.TreeView tvOrg = new reg.org.TreeView();
I don't want to every time specify that the other TreeView
comes from reg.org
.
What I would like to do is, to specify some variable, which takes the type of the reg.org.TreeView
and every time I need to create the reg.org.TreeView
I use this variable and not to whole type. Using the full path of the class can be annoying when the package root is huge.