I Already read this, this and this before posting my question.
My problem is slightly different.
I'm a beginner in java and I have a jar file that I need to use in my project (I beleive it is called library).
I imported it to my netbean libraries folder using import jar/folder option and I can see content of the library. Unfortunately the class that I need to import is under default package and using import rearrange;
(rearrange
is name of class) is not working.
To understand how to use this class I decompiled a class file that is importing exact same class and surprisingly it uses import rearrange;
to import that class.
I know that I cannot import classes from default package. and my sample class is not using reflection either.
What I'm doing wrong and how can I import this class? I also know that library (jar file) and also my sample class are compiled with java 1.6 (they didn't use 1.3.x that was allowing this type of import)