[Javacad-develop] I cannot run the JCad. Pls do me a favor
Status: Pre-Alpha
Brought to you by:
bachg
|
From: powergis <pow...@si...> - 2001-12-29 06:32:09
|
Hi, guys,
I'm a beginner of JAVA developing.
I download the JCad source codes and try to test. Now some problems occur.
First, I have read such files carefully:
README
INSTALL
DOCS/hacking.txt
DOCS/userguide.txt
But I cannot find the file "JCad.jar". So I have to compile the sourcecodes on myself.
First step, I compile them with JDK 1.2.2. I found that SAX classes are missing, so I download SAX2.0 from the official SAX website. Henceforth, I've got the JCad.class.
Second, I try to run it as follows:
##########################################################
C:\JCad>java org/jcad/JCad/JCad
uncaught exception: java.lang.NullPointerException
java.lang.NullPointerException
at org.jcad.JCad.JCad.main(JCad.java:224)
##########################################################
I found that JCad.java:224 is as follows:
frame.getContentPane().add("Center", new JCad());
Can you do me a favor to help me out? Thanks in advance.
/PowerGIS
______________________________________
===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
ÐÂÀË·ÖÀàÐÅÏ¢:·ÖÀàÐÅÏ¢ Ë´¦µß·å? ÄúͶƱ ÎÒËͽ±! (http://classad.sina.com.cn/)
ÐÂÀËÉÁ˸¶ÌÐÅÉÁÁÁµÇ³¡ ´«ÇéÎÞÏÞ (http://sms.sina.com.cn/cgi-bin/sms/smspic.cgi?spec=11&type=0)
|