Manjith Gunatilaka wrote:

Hi

This is the error I am getting during the compilation in JDK 1.3.1
=======================================================================================
C:\iTexHome\src>ant -f build.xml compile
Buildfile: build.xml

compile:

compile:
    [javac] Compiling 399 source files to C:\iTexHome\build\bin\classes
[javac] C:\iTexHome\src\com\lowagie\tools\Toolbox.java:98: cannot resolve sy
mbol
    [javac] symbol  : method setDefaultLookAndFeelDecorated  (boolean)
    [javac] location: class javax.swing.JFrame
    [javac]             JFrame.setDefaultLookAndFeelDecorated(true);
    [javac]                       ^
    [javac] 1 error

BUILD FAILED
C:\iTexHome\src\build.xml:64: The following error occurred while executing this
line:
C:\iTexHome\src\ant\compile.xml:31: Compile failed; see the compiler error outpu
t for details.

Total time: 6 seconds
C:\iTexHome\src>java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)

==============================================================================================================

Cheers

OK,
you can delete the complete package
com.lowagie.tools (including subpackages)
before compiling.
That package contains the toolbox GUI.
You don't need it in you application.
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to