I’ve created a default package xyz and within this package I have created a folder x so now there is a package by the name of xyz.x. Now in the main file of the regular package xyz I am trying to make it extend a class located inside of that folder xyz.x.
How do I do this? and How do I import that folder? I’ve already went to the Project properties, then libraries and under compiler, added a folder path to the folder I’ve just created.
>Solution :
If you created a project netbeans just use the project path to reach your desired Class:

package javaapplication5.xyz;
import javaapplication5.xyz.x.InsideX;
public class InsideXYZ extends InsideX {
}