Javadoc for DTD documentation

195 byte By gloaguena at 2007-9-27 7:41:29
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

problem!!!

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 ...

Bug?

1696 byte By Milliarda at 2007-9-27 7:45:50
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 ...

i cannot find the error

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?

Trying to create a package

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 ...

need help with setting classpath in windows xp

267 byte By jchristian727a at 2007-9-27 7:57:02
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

This problem will kill me!!!

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 ...

change the right of a applet

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

Too many errors. I want to see all of them in MS-DOS.

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 ...

JavaDoc in PDF

105 byte By has_stara at 2007-9-27 8:16:31
Is it possible to generate java documentation in to pdf format or any other format other than html

NullPointerException creating

3339 byte By primelogixa at 2007-9-27 8:22:44
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 ...

problems with classpath and comiling an easy program

305 byte By jchristian727a at 2007-9-27 8:23:13
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. ...

Ensuring 1.1 compatibility

715 byte By nathanfunka at 2007-9-27 8:24:55
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 ...

Not using Forte, not reading package.html

759 byte By Ethan_Michaelsa at 2007-9-27 8:25:18
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 ...

problem with compiling....

1075 byte By catchknsa at 2007-9-27 8:28:06
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 ...

documenting command line arguments

377 byte By bchristesena at 2007-9-27 8:31:57
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 ...

java doesn't work on my comp!

471 byte By doofiedoa at 2007-9-27 8:33:43
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 ...

Known Implementing/Subclasses

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

How to change the $ sign in a class name?

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.

Creating JavaDocs (HELP!)

1592 byte By MarkPowella at 2007-9-27 8:43:57
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 ...

compilation problem, if trying to use new classes

649 byte By pradeep_p43a at 2007-9-27 8:45:30
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 ...

javac.exe giving error

162 byte By pallavi_29a at 2007-9-27 8:51:10
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" .

javac won't run with XP

261 byte By psgillila at 2007-9-27 8:52:11
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

javadoc

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 ...

How to make exe

113 byte By jain_abhilasha at 2007-9-27 8:56:26
Hello friends,I want to make an executable and a setup file for my Java pojects.plz help me,

can run java on the xp

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 ...

Installing j2sdk 1.4.0 on RedHat 7.2

972 byte By bi0h4z4rda at 2007-9-27 9:00:28
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: ...

compiling on xp is no problem but I cannot start my appletviewer

546 byte By abbas_bokharya at 2007-9-27 9:05:48
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 ...

more on javac compilation error

604 byte By pallavi_29a at 2007-9-27 9:08:09
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 ...

Extending JavaDoc

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

changing HTML output layout

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?

Trying to compile program using Swing.

477 byte By JohnnieHoosiera at 2007-9-27 9:15:37
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 ...

javadoc *.class

77 byte By nvlama at 2007-9-27 9:15:42
Can I create javadoc from file .class?eg: javadoc Search.class.

cannot resolve symbol on getImage(String) function

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 ...

Classloader problem with 3rdparty library

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 ...

javadoc and doclets

415 byte By llbadmina at 2007-9-27 9:23:36
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 ...

Optimize

119 byte By pauloreda at 2007-9-27 9:27:31
Why the optimizing with -O the some times, do not improve the performance of the program?Help me! Thanks!

The compiler does not inform necessity to intercept exception

414 byte By avadhutaa at 2007-9-27 9:32:08
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: ...

Is performance improved recompiling with JDK 1.4 the old JDK 1.2.2 classes?

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 ...

HELP: Inner Class vs. Private Member

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?

Create docs without having source files?

102 byte By goldgoldgolda at 2007-9-27 9:35:23
Can I create a Javadoc documentation with only having the class files and not the source files?

javadoc output

285 byte By fierensyvesa at 2007-9-27 9:39:18
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

PDF Output with javadoc

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 ...

Merge/include to javadocs the additional comments not included in source

437 byte By LeonidShamisa at 2007-9-27 9:41:24
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 ...

Java Editors? (JCreator, Eclipse,...)

419 byte By stevebjua at 2007-9-27 9:46:17
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 ...

URGENT!!!!!!!!!!!!

994 byte By marianaaa at 2007-9-27 9:46:29
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 ...

create todo list out of @todo tags

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

Not displaying correcly

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 ...

Javadoc fails on parsing errors

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 ...

Java 1.4 Compiling?Plz Help

346 byte By HelpNeededa at 2007-9-27 10:19:21
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 ...