Hi,
I would like to know if there is a way to tell to the compiler to not compile a line of code.
e.g.
.................................................
Frame frame1 = new prog.l.Frame1();
....................................................
If the upper class doesn't exist the compile shows an error :
"Frame1.java": package prog.l does not exist
i want to do something like this:
.......................................
if (variable==1) {
Frame frame1 = new prog.l.Frame1();
}
....................................
i mean when (variable==1) Frame1 exists, otherwise does not exist
and i don't want to have compiler error
thanks in advance