Hi,Can you use JavaDoc for DTDs ? or any other source code ?If not, do you know of any other tool that would do that kind of job ?Many thanks,Dominique Gloaguen
724 byte By
jonsofa at 2007-9-27 7:42:39
I have written the following code from a book :class John {String color;String sex;boolean hungry;void feedJohn() {if (hungry==true) {System.out.println("Yum -- a peasant!");hungry=false;} elseSystem.out.println("No, thanks -- already ate.");}void showAttributes() {System.out.println("This is a ...
I dont know why. My javac.exe work correctlly before 1 day ago. But now, when I javac any .java file, I got a error.(re-install JDK is no effect)I use it under win2000. Can anyone tell me how to solve this problem ? Please ~~Thanks a lot !C:\Java_Source>javac javabeans.javaerror: cannot ...
222 byte By
jonsofa at 2007-9-27 7:54:55
class Sample {void Method() {System.out.println("I am John");}public static void main(String arguments) {Sample s=new Sample();s.Method();}}where is it?
404 byte By
narcca at 2007-9-27 7:56:46
I'm trying to create a package of objects to use in other programs.I set the package up like:package mypack;public class objecta{...}class objectb ...However when I include the package (with the package in a directory in my classpath) likeimport mypack.*;I get a 'package mypack does not ...
Hello everyone:I am new to java programming, I have installed jdk1.3.1_03 (correctly) but I need to knwo how to set up the class path in the windows xp, please give me simpe instructions on this. Thank you for your help.Best RegardsJohanna
500 byte By
atanyera at 2007-9-27 7:58:15
Hi all;I have a question about the class files. Let's say that I have some errors when I compile the code. I make the corrections and recompile the code again. However, for some reason the new class files are not overwriting the previous ones.Therefore every time I compile the code I have to ...
111 byte By
bumperta at 2007-9-27 8:14:30
Change the right of a applet to make him right to write on a file ?sorry for my englishthx
640 byte By
bendowja at 2007-9-27 8:14:41
I am wondering why no one ever wants to see all their errors when compiling programs. Several times I have looked for someone who is in the same boat as I am. I can't seem to find any hints or solutions to this problem.I know that when compiling code in c or c++ you can redirect any ...
Is it possible to generate java documentation in to pdf format or any other format other than html
I am using JavaDoc for the first time, however I get a null pointer exception midway..please help.C:\java\src\>javadoc *.javaLoading source file AbstractTool.java...Loading source file DrawCanvas.java...Loading source file DrawCanvasListener.java...Loading source file ...
Hello everyone:I have downloaded jsdk1.3.1_03, (Windows xp)? what do i type in the class path? Once I am done with setting the classpath. I typed the helloworld program, and it give me an error specified path not found).Please help, through this. ...
I've tried using the "-target 1.1" (in the 1.4 JDK) but it does not seem to do what I expect. I am developing a library that can be used in applets. The Internet Explorer default Java VM is 1.1. Testing with the Microsoft VM is one option, but I would rather see incompatibilities at compile ...
I'm working with the Javadoc tool that came with J2SDK 1.4 on a RH Linux 7.2 machine. I've written a simple command to run javadoc on the .java files in the working directory:javadoc -d /usr/local/jakarta-tomcat-4.0.1/webapps/doc -verbose -private *.java(I'm trying to set up a Web app for ...
Have a java file which has a public and a non-public top level classes. Here is the file named MainClass.javapublic class MainClass{//....blah...blah..}/*Note: This is not public.*/class AnotherClassInSameFile{//....blah...blah..}AnotherClassInSameFile is being used by classes outside the file ...
I'm very new to javadoc, and I'm trying to put together a set of guidelines for our developers to follow. One thing I came accross was command line arguments. If a main function is expecting command line arguments, how would this be documented, should @param be used? I didn't see anything ...
i have recently formatted my computer, and re-intalled everything back, i have windows xp running and i just downloaded the java v. 1.4 standard edition, but it doesn't seem to work, i don't know why, it does complie with javac but when i run with java <name> it throws and Exception in ...
111 byte By
sbahala at 2007-9-27 8:40:17
How do we get JavaDoc to create the link- Known implementing or known subclasses?TIASanjay
233 byte By
ATOVa at 2007-9-27 8:41:39
How to change the $ sign in a class name? After compilation I get classes with names like abc.class, abc$1.clsss abc$2.class etc.. How do I get different names (without the $ sign) that will be accepted by my web host.
I posted this on the Java Programming section, didn't know this forum for javadocs existed.....Hi, I wrote here yesterday asking about javadocs and looking for information on them. I found this website, which is great and full of information about ...
i have jdk1.2 in my c drive and just now i have downloaded and installed jdk1.4 in my d drive. The program,which is supposed to run with jdk1.2 is working fine. but when i tried to use some new thing,(e.g. i tried to use the DragSourceAdapter class, in my program)..its giving error saying that ...
compilation error on jdk1.2.2error statement " javac.exe has generated errors and will be closed by the windows. you need to restart the computer" .
I recently purchased a new laptop that has Windows XP. If I compile a "hello world" class on another machine and copy it over to the XP box, I can run it. However, I can not run javac on the XP box to compile the same file. Any Ideas why?Thank you
1206 byte By
gmdmsaa at 2007-9-27 8:54:49
Trying to use the -source path option, but it is not working with my package strucure. It will only identify one level, nothing below or above. I would think you could Identify one directory and it would search that directory and all sub-directories.In my example I have the following package ...
Hello friends,I want to make an executable and a setup file for my Java pojects.plz help me,
775 byte By
pw123a at 2007-9-27 8:59:10
the copuetr i have is windows xp.i have download bluej1.1.5 and jdk1.1.3_01 and tryed to compile the hello example as well as aproject of mine in dos ,but whe i type ex:- module add java it gives me a error saying 'module'is not recognized as an internal or external command,operable program ...
Hi,I've tried following the instructions on how to install the SDK on linux and it doesn't seem to be working. The instructions I'm following can be found at: http://java.sun.com/j2se/1.4/install-linux.htmlIt seems to install correctly, but when I try to run java or javac, it gives me:bash: ...
I can compile on xp but I cannot start my applets, in DOS example :c:\BIN> appletviewer balloon.htmlc:\BIN>After this nothing happens..I mean it does something but it does not start the applet. I tried everything looking up in the advanced browser configuration but could not find any ...
hi all So here is more information regarding the coimpilation problem that i 'm facingi have got jdk1.2.2 loaded on my system. the first program that i compiled e.g. when i gave the statement for compiling such that javac try.java it gave an alert box with the error "javac has generated errors ...
192 byte By
safe01a at 2007-9-27 9:09:26
Is there any way how to extend and use RootDoc, PackageDoc in existing javaDoc.I need to add some information to this documents from different XML files.ThanksTomas
168 byte By
dagreata at 2007-9-27 9:12:50
How can I change the CL&F of my javadoc output to something else? My team want to put their logo and change the layout of the default output. Can it be done?
I am trying to compile a SWING program (i.e. JFrame, JButton etc). Program does not have main method.Obviously when I compile, I getException in thread "main" java.lang.NoSuchMethodError: main. Isnt it allowable to have a Swing pgm without a main method ?Am I missing something obvious? Do I ...
77 byte By
nvlama at 2007-9-27 9:15:42
Can I create javadoc from file .class?eg: javadoc Search.class.
1099 byte By
darinda at 2007-9-27 9:20:09
I just installed J2SE 1.4.0_01 on Windows 98.I have set my CLASSPATH environment variable toCLASSPATH=.;C:\j2sdk1.4.0_01\jre\lib\rt.jaras well as my JAVA_HOME toJAVA_HOME=C:\j2sdk1.4.0_01However, now when I compile an applet of mine which previously compiled fine with J2SE 1.3.1, I suffer from ...
1824 byte By
schoena at 2007-9-27 9:20:55
I'm writing a doclet which creates PDF output. To create appropriate output, I need to parse HTML code embedded in text descriptions. I wanted to use the DOM parser from jTidy (the HTML clean-up toolkit). But within the HTML parsing method of jTidy's parser, I get this:- [javadoc] javadoc: In ...
Hallo,I'm trying to use javadoc with other doclets. But javadoc finished the process without generating output-files and without any error message.See following example:D:\ph_doc\WEB-INF\classes>javadoc -doclet javaworld.ServletDoclet BookmarkServlet.javaLoading source file ...
Why the optimizing with -O the some times, do not improve the performance of the program?Help me! Thanks!
I am have simple programm that consist of 6 classes. I am declare an interface that have method witch can to throw an exception. But when I'm call this method in constructor without catching of that exception, I'am do not got compile error.You can download source code fron here: ...
359 byte By
txatia at 2007-9-27 9:32:19
Hi, I have a GUI application that is run with JDK 1.2.2 on Solaris 2.8, but the performance is very poor. I migrated the JDK version up to JDK 1.4, but I did not recompile the application classes. The migration did not improve the speed of the application, so I wander if it was because I ...
234 byte By
aijunga at 2007-9-27 9:33:30
I use "javadoc -private" to create documents with inner classes. As a result, all private fields and methods, which I don't need, show up in the same document. Is there any way I can have inner classes without private members?
Can I create a Javadoc documentation with only having the class files and not the source files?
hi,when i run javadoc on my package, one error and three warnings occur, but, the dos window only displays the last few lines.Is there a way to redirect the output to file on win98, i found ways for solaris and winNT, but what about win98?greetz,Yves
493 byte By
schoena at 2007-9-27 9:40:39
Somebody once asked how to create PDF output with javadoc, so here's some work in progress: I am currently creating a PDF doclet which creates directly PDF output from javadoc. It's still in alpha stage, because it does not yet create an index or navigation frame (which is mandatory for the ...
Hello,I will appreciate if someone could explain how can I include additional comments in generated Javadoc when thses comments where not included in original source. I've got the application with many generated classes which do not include enough comments. I'd like to add more comments (per ...
Does JCreator offer a compiler that has the code completion (like MS intellisense)? If so, is it in the free version or do you have to purchase it in as one of those additional features? I think that's what I like so much about J++ is that it has the intellisense to help speed up the coding ...
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet> at java.lang.ClassLoader.findBootstrapClass(Native Method)> at java.lang.ClassLoader.loadClass(Compiled Code)> at java.lang.ClassLoader.loadClass(Compiled Code)> at sun.misc.Launcher$AppClassLoader.loadClass(Compiled ...
178 byte By
FelderRa at 2007-9-27 9:50:34
Hello,is it possible to create a todo list out of the @todo tags introduces in java 1.4? If yes can anybody tell me how this could be done?Thanks!Rene
6169 byte By
RyDera at 2007-9-27 9:50:53
My arrays are not diplaying under the title Creit and Debit like they are meant too.Here is my code, after the last JOptionPane.showInputDialog all my static text fields disappear, and nothing is displaying like its meant too. Cut and paste save as prog3c3v2 to get an idea of what im talking ...
482 byte By
ariesa at 2007-9-27 9:59:49
Hi there,I am trying to generrate javadocs for hundreds of files. Some of them do not compilewhile some of them have parsing errors (missing semicolons etc.). When I try to generate the javadoc, it loads each file, prints errors for the one which are not parsableand in the end prints the total ...
Hi,I am new to java programming, and at school we are using JDK 1.2 and it simple to compile usingjavac test.javabut I download 1.4 and am using it on Windows XP.I am just having problems using the javac command?Is there an alternative command for it.Plz Help it would be ...