Hi all,
Please help me
Error(24,5): Class form Module not found in class mypackgae ABCExample_1
Error(24,26): Class form Module not found in class mypackgae ABCExample_1
Error(32,5): Class block not found in class mypackgae ABCExample_1
Error(32,24): Class block not found in class mypackgae ABCExample_1
Error(40,5): Class item not found in class mypackgae ABCExample_1
Error(40,22): Class item not found in class mypackgae ABCExample_1
Error(48,5): Class canvas not found in class mypackgae ABCExample_1
Error(40,22): Class canvas not found in class mypackgae ABCExample_1
Error(40,22):Variable ABC not found in class mypackgae ABCExample_1
//Using ABC to create Oracle forms at runtime
package mypackage;
import oracle.forms.jdapi.*;
import java.io.*;
public class ABCExample_1
{
public static void main(String[] args)
{
String formname="";
String blockname="";
String itemname="";
String cnvname="";
BufferedReader br;
System.out.print("Enter your form name and press Enter: ");
br = new BufferedReader(new InputStreamReader(System.in));
try {
formname = br.readLine();
} catch (IOException e) {}
FormModule fmd = new FormModule(formname);
System.out.print("Enter your block name and press Enter: ");
br = new BufferedReader(new InputStreamReader(System.in));
try {
blockname = br.readLine();
} catch (IOException e) {}
Block blockA = new Block(fmd, blockname);
System.out.print("Enter your item name and press Enter: ");
br = new BufferedReader(new InputStreamReader(System.in));
try {
itemname = br.readLine();
} catch (IOException e) {}
Item itemA = new Item(blockA, itemname);
System.out.print("Enter your canvas name and press Enter: ");
br = new BufferedReader(new InputStreamReader(System.in));
try {
cnvname = br.readLine();
} catch (IOException e) {}
Canvas cnv = new Canvas(fmd, cnvname);
itemA.setCanvasObject(cnv);
fmd.save(formname+".fmb");
fmd.destroy();
Jdapi.shutdown();
}
}