Please, help me resolve one problem. I'm create GUI application, which works with FTP protocol. I use standart IPWORKS package from JDK, but everytime I launch application in JBuilder, I get this message: unable to dispatch event: ipworks.CJDK11GuiDependent$1[] on ipworks.CFTP@2f356f Thank ...
does anyone know what "type expected" means?I have the piece of codethat goes with it:System.out.println("ascending order sort");hey, i am new here, so please help me out.
571 byte By
sebpc at 2007-9-27 22:03:39
I have two interfaces, interface A {int op0(int param1) ;}and interface B extends A {int op1(int param2);}when I use Javadoc with the B interface in parameter, I want to obtain the A interface with its methods, and when I want the parameter list for each method, I have no name for the ...
763 byte By
PalzerD at 2007-9-27 22:10:08
Hi,i try to run the example "How can I modify the standard doclet to produce links to source code from the API documentation?" [ http://java.sun.com/j2se/javadoc/faq/index.html]. Everthing works fine, except for the last step (javadoc -doclet Standard -sourcepath <path to source code ...
i'm writing a program to detect the deadlock occurence,i create an object call monitor to monitor the deadlockbut even i tried isInterrupted(), interrupted() or holdsLock(),the results are always "false"even when there is deadlock!!anyone can help?the program is post here:public class ...
488 byte By
garmee at 2007-9-27 22:18:16
Trying to get Java working on my computer to help with college work, while I can run programs using "java ...etc" when I run the compiler I get the following error:-Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/MainNow I'm pretty dure my paths are correct so ...
After running my application for a certain period of time i am getting OutMemoryError Error.Please any one can suggest me how to find the amount of memory my application is using at a given point of time and the total amount free space in my system.
263 byte By
bilco at 2007-9-27 22:23:07
Hi,I've created a JavaDoc API,but when I specify the -overview option, all thetext in this Overview page gets put below my package table.How do I ensure that it appears above the table (ala. JDK API) ?Cheers,Ronan
I have an application that I have created in a JBuilder project that works fine. I have moved the project to another machine and when I run the project and click some of my links, I get a java.lang.ArrayIndexOutOfBoundsException error. I'm new to JAVA so any ideas would be greatly ...
296 byte By
joshman at 2007-9-27 22:24:46
Hii have developed an application framework containing quiet a lot of classes. For documentation it would be great if there was a tool that automaticaly generates a visualisation of the class hierarchy.Does anyone here know such a tool?Thanks for your help.josh
1017 byte By
aabedm at 2007-9-27 22:25:56
Hi,I am trying to run doccheck with JDK 1.3.1 and I am encountering the following exception (java.util.NoSuchElementException. Any ideas?javadoc: In doclet class com.sun.tools.doclets.doccheck.DocCheck, method start has thrown an exception ...
371 byte By
mors1 at 2007-9-27 22:36:03
i've dowloaded j2sdk1 1.4.1 and after i installed it i tried to install "netbeans" but when i open the exe file the install wizard stoped and said that he didn't find suitable jvm and that i should try -is:home...i'm using win xp pro.i've opened the exe file in the same file that was ...
i am having major problems using netbeans. i have downloaded everything as i should have and have installed everyting as i should have done but am geting a error message when i click on the netbeans icon on my desktop. this says "cannot load jvm.dll" what is this problem and how do i sort it ...
409 byte By
yipman at 2007-9-27 22:50:32
I'm new to Java.How can I subclass the standard doclet class? The javadoc HTML-documentation (jdk\docs\toolsdocs) does not say anything about this class, only about the base doclet class.So if I subclass the standard doclet and other Javadoc-classes, how can I tell Javadoc to use my classes? ...
If I have a directory with subdirectories and packages, how to generate javadoc?Let's say the dir path is like this: SUB is the ...
8123 byte By
Macca1 at 2007-9-27 22:58:37
An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D06EB9BFunction=Java_sun_awt_windows_WColor_getDefaultColor+0x5952Library=C:\Program Files\Java\j2re1.4.1_01\bin\awt.dllCurrent Java thread:at ...
I'm generating document for a class similar to the following:-public class Example {public static final Example TYPE1 = new Example();public static final Example TYPE2 = new Example();private Example() {// private constructor}}-When I run the Javadoc tool on this class, it lists the ...
Hi there,we have problems with a Java-application (using j2se 1.4.0) and Win XP. When starting the application, the javaw.exe starts runnin (as it should to) but the application doesn't start. I have to kill the javaw.exe process, because it needs nearly 100% of the processor-resources.The ...
I have a problem here at work I need to solve...There are threads running and connecting to an IBM MQ Series. I am not connecting to a MQ Series box but that is OK. Here is the problem and the code.If the MQ Manager or Queue is unavailable (i.e. through incorrect properties file settings or ...
Hello forum folks! I have been struggling with a problem for a couple ofdays now and can't seem to get my doc-files directory to copy with mypackage api, so I am hoping that someone here will be able to help me.My javadoc version is:java version "1.4.1_01"Java(TM) 2 Runtime Environment, ...
884 byte By
PaddyGa at 2007-9-27 23:19:14
Hallo,I tried to create a documentation with javadoc. But the Sourcecodes are saved in differend Subdirs.So I take the DOS command DIR /A:D /B /S > filesThis should write all subdirs into the file named files.The entries in Files lookes like ...
When I generate the documentation with the flag -private (the less restrictive), I get only the javadoc class block comment for the nested classes, is there any way to see the information about fields, operations, constructors, etc.I am using jdk 1.3.1._04Thanks in ...
992 byte By
PaddyGa at 2007-9-27 23:20:16
Open an editor and write this:@echo offrem this program is for documentation of JAVA-programsrem author: Patrick Goebelrem date: 24/10/2002rem %1 => path of the first program-directorycd %1dir /a:-d /B /s *.java > filesmd doku@echo Generating API ....c:\Jdk140\bin\javadoc -d %1\doku ...
The software I am using needs to run a Java virtual machine, and requiresjre1.2.2. However when it tries to launch java I get the following error Java.exe application errorThe instruction at "0x500bf874" referenced memory at "0x00000e7f". The memory could not be "read"Click OK to terminate ...
Does anyone know if there is a way to change the format of the resulting HTML document? (Aside from making my own page, of course.) I'm not too thrilled with the standard API page. Thanks.
72 byte By
valjoka at 2007-9-27 23:27:27
I parse a file and find out that it contains unsupported elemnet.
243 byte By
tblougha at 2007-9-27 23:29:16
I'm sure the @(#) construct I see in the "C" style comments at ths top of the standard library source files is documented somewhere. Problem is, I can't find it. Can someone point me in the right direction?TIA,Tom Blough
Hello,I am using JDK 1.3.1.06 and trying to compile a simple Servlet. But getting errors as javax package classes does not exits and cannot resolve symobol.The following is the program I am trying to compile:import javax.servlet.*;import javax.servlet.http.*;import java.io.*;public class ...
Hello,I write a tool who can convertes xml data into another kind of data.Data will read in by "readLine()" from "BufferedReader" about console.When I start my programm in command promt in windows this routine works normally very fine.I copy some data, paste it into and my program works. But ...
Hi!Does anybody know a way to report bugs automaticaly when a runtime exception occur in a java program?For example, I want to write into file with the stack trace when a NullPointerException occur.Thanks!David
Is this bug well known or not ?Try this litte bit of codepublic static void main(String[] args){System.out.println(10.12 + 10.0);}The result should be 20.12But Java prints 20.11999999999997Used on Solaris 8 JKD 1.4.1 and Windows 1.4.1I dont know if it gives the same results in 1.3 so try it ...
492 byte By
nevillea at 2007-9-27 23:50:43
The JavaDoc FAQ includes the following question: "In Javadoc 1.2.2, when using @see ... tags to external API, any links to methods, fields and constructors are missing." The FAQ says this bug existed solely in version 1.2.2. However I am experiencing exactly the same behavior with 1.4.1_01.I ...
http://www.lanphearsupply.com/error.jpgIf Someone could please take a look at this screen capture of an error message I have recieved, I would be very appreciative.Any ideas as to what it means would be very helpfulthank youWill
Please help me...what does this error mean?
I'm working through some tutorials but I get errors even if i get the code CORRECT or I should say identical to the source code displayed on the web. For instance i get this:****E:\Java\New>javac SwingUI.java SwingUI.java:41: not a statementWindowListener 1 = new WindowAdapter() ...
I want to throw exception in Thread.run() method. How can I do that ?If I try to compile the Code given below, it does not allow me to compile :public class ThreadTest {public static void main(String[] args) {ThreadTest.DyingThread t = new DyingThread();t.start();}static class DyingThread ...
973 byte By
mnalepa at 2007-9-28 0:29:55
When I try to run my html to execute the demos, i get a'class tictactoe not found' message. Same goes for HelloWrold and other demos.I have received a the tictactoe.class from another user, andwhen I susbstitute her .class for mine - it works !!But when I compile her source, tictactoe.java, ...
228 byte By
wookieea at 2007-9-28 0:30:46
Is there a javadoc equivalent for, or can I use the javadoc tool to generate documentation for non java files? I'm looking to autodocument a sql file of stored procedures, similar to the HTML output generated by javadoc.
Hi,I have an application running on Linux Slackware 8.1, using SDK 1.4.0Every couple of days this error occurs, and the server dies (which is really bad for something I want to just sit there, and do stuff without needing to baby sit it).This error does not occur with any other Platform that it ...
Hi, I wish to catch all exceptions thrown automatically by an ejb container by a client (business delegate). Exceptions such as NullPointerException and FileNotFoundException are ?wrapped up by the container as EJBExceptions and posted onto the client.How can the client determine the root cause ...
271 byte By
natraj1a at 2007-9-28 0:39:13
How do I make javadoc generate constant-values.html file for constants in interfaces? I understand that constants in interfaces are public, static and final by definition. Javadoc does not seem to do anything. I even attempted inserting a {@value} in doc comments.
Hi,Got the following question: I have a BufferedReader (wrapped around a FileReader) that reads from a normal text file. Since this is dangerous I put this reading activity inside a try block. If there occurrs an IOException it will be caught and a message will be written to the console.My ...
Hi all,This should be a relatively easy question to answer. I have written a class that extends CardLayout. When I run javadoc on the class, it understands that and includes an inheritence tree and a list of all the inherited methods and such, but it does not have hyperlinks to any of this. How ...
Hi,I have this interface. All the methods are not to be documented for a particular group of clients but the constants are supposed to be. Is there anyway I can do this? I am using 1.4.For instance:public final String LOGIN = "aaaa"; // this need to be documented but not the method declarations ...
704 byte By
hidyca at 2007-9-28 1:00:18
I have two public class files (Rect, RectTest with main) under a package rect;I can use the command:java -classpath C:\ rect.RectTestsuccessfully and can see the output result.However, I am unable to run by using the Jar file. I have put the two public class files into the same Jar file named ...
112 byte By
rjanea at 2007-9-28 1:09:36
when I chat I can't whisper to anyone...what do I need to do to fix it or what?Thanks,Reba
Good morning,I am new to API documentation. What type of polices and procedures for standards can our company adopt. Where do I start?I have been tasked to add tags/comments to java source files. Any beginner Tutorials around?The objective for our company will be to create an Enterpise Object ...
I keep getting a:java.lang.ClassCastException: $Proxy###at code like this:pcMilerHome = (PCMilerHome) initialContext.lookup("ejb.PCMiler");This is in a client side helper class for an SLSB EBJ service. When I try to use this helper from a Servlet, I'm getting the above error. It works fine ...
788 byte By
schapkla at 2007-9-28 1:28:17
I have a "automated"/"No GUI" program that processes XML Files into an Oracle Database.When the program encounters an exception, the exception is written to a log file using method FileWriter.write( String str ).The problem is that when the program retreives the "message" of the exception using ...
1182 byte By
dchu2a at 2007-9-28 1:29:39
I used jdk1.4.0 on NT server platform for implementing a client server application, with multiple client threads hitting this server, and got this error from time to time when the server sending data back to the client; seems to happen more with heavy loads, or with high CPU utilization. Anyone ...