This is my directory structure:
src
|-common
| |-AppManager.java
| |-DesignConstants.java
|-controller
|-view
|-Application.java
I have tried to import "src.Application" class in "src.common.AppManager". But, It's not working. How can I do that?
package common;
import view.MainPanelView;
import Application; // Error :: Class 'Application' is in the default package
public class AppManager {
private static class Holder {
public static final AppManager INSTANCE = new AppManager();
public static final MainPanelView MAIN_PANEL_VIEW = new MainPanelView();
} // Holder Inner Class
public static AppManager getInstance() {
return Holder.INSTANCE;
} // getInstance()
public MainPanelView getMainPanelView() {
return Holder.MAIN_PANEL_VIEW;
} // getMainPanelView()
} // AppManager Class