Can anyone share with me how you write Javadoc?

1031 byte By LJRJa at 2007-10-2 18:19:41
Can anyone share with me how their companies write Javadoc?Are your developers solely responsible for it? Do your technical writers own it or review it? How do you make sure it's good? Right now, my software developers are mostly responsible for writing all the API info and it's of poor ...

how to solve this exception? help!!

1927 byte By wgdtoma at 2007-10-2 18:31:35
i want to change part of my code from swing to AWT(just the timer part), but some exceptions are displayed. could you tell me why?This is swing part GUILogger guiLogger = new GUILogger(logLength); // update log informationTimer timer = new Timer(logTime, new ActionListener() {public void ...

cannot find symbol on new Book()

696 byte By JoinBiga at 2007-10-2 18:33:18
hi, i have problem with NetBean error when create program below:class library{....main(){Library xxx = new Library();xxx.fillMe();...}private void fillMe(){...libCat = new Cat(10);...// populate CatSystem.out.print("something");Book book1 = new ...

cannot be refrenced

946 byte By boltriga at 2007-10-2 18:35:17
Im trying to finish the code for an adventure game ive got.I have a game class, a nonplayer class and a room class.Game adds nonplayers to rooms, then should call a list when the look method is called.i cant figure out how the methods should be called though. Its probably another stupid mistake ...

Extracting specific detial about class from the JAVA API created by Javadoc

332 byte By vivaka_sena at 2007-10-2 18:39:39
hi , Bacialy I need to get detials of all classes from the Java packages for my project. So i thought getting detials from the Java API document might be one way of doing it. If any one tell me some package or software which can get particulat text from the API document that will be great. ...

Java Error

115 byte By andyGa at 2007-10-2 18:39:55
I cant use any pages that are java the script comes up in the corner that its java but it wont load the page

How to setup the right path to the JavaDoc for java 1.5?

242 byte By PapirovDavida at 2007-10-2 18:41:53
I downloaded the docs, put into the jdk folder but still javadoc Alt-F1 in netbeans not workingAlso in tools -> javadoc index search I receiving the red box x No Documentation FoundPls, help me asap,Many thanks,

Illegal start of expression

1456 byte By TheProgrammerGuya at 2007-10-2 18:51:38
I am getting "Illegal Start of Expression" apparently at the beginning of each "=fomat" line. I admit I know nothing about Java, but I am a programmer so the code I have below seems logical to me... Please ask any questions, or let me know if you need more code. Help!!! :)Thank YouLarryThis is ...

"lots of errors"

572 byte By java_norda at 2007-10-2 18:51:58
When I compilate my java sourcecode with "javac"-command, I allways get the answare "100 errors" (or a other high, like 58 and so on), and it stays witch errors, but I know that isnt wrong. I have tested to take sourcecode directly from internet pages, so I know them are correct. Anyone who ...

Cannot resolve symbol? Why?

2587 byte By Crimsin_spectrea at 2007-10-2 18:52:11
I am a student in class and would really appreciate help with my 'cannot resolve' symbol errors. If anyone can help me, please simplify your answer(s) as much as possible. Thank you:import java.awt.*;import java.awt.event.*;class MyFrameB implements ActionListener, WindowListener, ...

java problem

2579 byte By nickjavaa at 2007-10-2 18:52:52
ok i am trying to create a program which will calculate the area of a wall, and then using JOptionPane, ask the user if they want to work out the area of another wall. But once they say they do not want to create another calculation, it will display all areas in a message dialog.Here is the ...

java problems

106 byte By wildwoman34a at 2007-10-2 18:55:42
I tried to download java but i have no d drive jusy a c and e drive how can i fix so i can download

Loading Java Applet Failed... HELP ME PLEASE !

1870 byte By SubZer0a at 2007-10-2 18:57:15
Hello,Recently I can not view Java applets.This is what I see in the console :Java Plug-in 1.5.0_06Using JRE version 1.5.0_06 Java HotSpot(TM) Client VMUser home directory = C:\Documents and Settings\? -c:clear console windowf:finalize objects on finalization queueg:garbage collecth:display ...

Stack Overflow Error - URGENT

1637 byte By TanmayCreationsa at 2007-10-2 18:59:50
Problem Scenario :We have a J2EE application, which has a front end developed in Java Swing with usage of heavy graphics & managed by the weblogic server. There are several application details in the Hash-Maps containing with nested Hash-Maps & Hash maps contains the Serializable Java ...

Exception in thread "Main" java.lang.NoSuchMethodError: main

2644 byte By stdbsp13a at 2007-10-2 19:03:10
Compiles just fine, but when try to run is throws back this error : "Exception in thread "Main" java.lang.NoSuchMethodError: main"import java.io.*;import java.net.*;import java.util.*;public class Server{ArrayList clientOutputStreams;public void go()throws IOException{//clientOutputStreams = ...

Class cast exception

101 byte By subhro16a at 2007-10-2 19:06:20
I'm new in java.I'm bogged by class cast exception.Pls tell me abt this exception in detail.

JavaDoc: How do I use paragraphs?

790 byte By kmportnera at 2007-10-2 19:07:04
Hello All,I'm trying to have my JavaDoc comments appear with a description that can have paragraphs in it, but when I generate the JavaDoc the paragraphs are all put into one. How can I do this?Example JavaDoc Comments:/** * (C) Copyright MyCorp. 2006 * All Rights Reserved * * Created on May ...

Cant play YAHOO POOL games

150 byte By horkstera at 2007-10-2 19:08:49
I downloaded JAVA , now when I try to play Pool on yahoo it wont let me!It shows me joining the game but I cant actually play.Please help me!!!

javadoc a folder

469 byte By Rebels_Mascota at 2007-10-2 19:12:45
Is it possible to javadoc a folder and it will create documents for all java files in the folder and subfolder?I had done this using a batch file, but would prefer not to use this.E.g.-c--projectfolder1-package1--package2folder2-package3--package4I'd like to specify project and javadoc would ...

Unexpected type error within inner for loop

2572 byte By da_wannabesa at 2007-10-2 19:13:42
I keep getting an unexpected type error trying to state the position of the index for the list (of type LinkedList), within the inner for loop (see code below). Rather than hardcoding in the index, I used a variable. What I cannot understand though is why this error only applies to that ...

what does this mean?

10123 byte By Bekky932a at 2007-10-2 19:14:07
Note: C:\Documents and Settings\rcobos\Desktop\solitaire.java uses or overrides a deprecated API.Note: Recompile with -deprecation for details.that was my compiler error. i was just tryign to run this program from the internet, here is the code if it makes a differnece?// A simple solitaire ...

java problem

158 byte By xblazexa at 2007-10-2 19:14:46
pls i have this problem:exception: com.ms.security.SecurityExceptionEx[WebDriver.<init>]: Unable to access system property: java.io.tmpdir

client-server help 'nullpointerexception'

586 byte By newJavaLearnera at 2007-10-2 19:14:54
hi there everyoneim new to this forumi have this little problem with a client-server application that i have developed.when a client tries to log into the sever (which runs on a different pc) using a username and password i get a 'nullpointerexception' error.the thing is when i run both the ...

Is ti possible to read JavaDocs from an application ?

425 byte By fmarchioniscreena at 2007-10-2 19:16:25
Hi all,I have inserted inside Javadocs information which are useful for unit testing.Java source code can be read and parsed with standard i/o Api but I wonder if it's possible to use JavaDocs tool programmatically.For example how to read for example the variable "service" ?/** ...

Getting all information about a method

701 byte By Rebels_Mascota at 2007-10-2 19:17:32
Is it possible to get all the information about a mathod using methoddoc or some other class, i.e. public void method1 (int param1, String param2, ...){blah blah blah}I'd get backpublic void method1 (int param1, String param2, ...)I'm using methoddoc.flatsignature() but this returns:(int, ...

why does a package error occoures?

855 byte By betlora at 2007-10-2 19:18:04
HI,I have the following code segement:import java.util.*;import java.io.*;package SYDC;class Matrix implements Serializable{//contains other methods and constructors...}but my compiler says now that it is expecting an interface in line the line with package SYDC.What shall I do? is there an way ...

java.io.Ioexception

836 byte By Silu79a at 2007-10-2 19:18:24
Hi,My application is running on Solaries and oracle application server.For system testing when i entered a file into Inbox and heat the application then the file goes to outbox .But i am getting "java.io.IOException: mv: not found" this exception .public boolean moveAnnualRefreshFile(String ...

HashCode and Equal

189 byte By aaq2005a at 2007-10-2 19:21:00
Hi there, I have question about hashCode and equal and I would like to know what is the <contract> that hashCode must satisfy with respect to the equals method?Thank you

CSS Themes

188 byte By posaune02a at 2007-10-2 19:21:18
Are there any repositories of css files or theme packages for JavaDoc? Other than creating my own stylesheet, just wondering if there were any collections of them out there already.

How to resolve IndexOutOfBoundsExc~ in LinkedList...

7378 byte By da_wannabesa at 2007-10-2 19:23:16
Here's the executable code:/* Cannot resolve the ClassCastException */import java.util.LinkedList;import javax.swing.JOptionPane;public class ProblemList{ MusicDatabase mDBase; LinkedList musicList; public ProblemList() { musicList = new LinkedList(); int numOfElems = Integer.parseInt( ...

Program will run with errors, but not at all in a .jar file

3944 byte By Xenogenetica at 2007-10-2 19:25:44
First off, here is my program right now:import java.io.*;import java.util.*;import javax.swing.JOptionPane;public class prune{public static void main(String args[]){String steamid="",time="";BufferedReader infile = null;BufferedWriter outfile = null;FileReader fr = null;FileWriter wr = ...

Error -- java.lang.ArrayIndexOutOfBoundsException: 0

1075 byte By CompilerCama at 2007-10-2 19:25:51
When trying to write this program:import java.io.*;public class ReadID3 {public static void main(String[] arguments) {try {File song = new File(arguments[0]);FileInputStream file = new FileInputStream(song);int size = (int)song.length();file.skip(size - 128);byte[] last128 = new ...

Minor Error?

11511 byte By TrueAcea at 2007-10-2 19:27:49
I am trying to get my program to print out a grid of checkmarks properly, but since there are so many, they over lap, making them hard to select. How do I get the grid to be spaced out more, or even better, to scroll along on a grid?Here is the WHOLE program. It compiles. The checkmarks are ...

java.lang.NullPointerException

158 byte By student14a at 2007-10-2 19:27:51
i have this Exception but i dont know the reason: Exception in thread"AWT_EventQueue-0" java.lang.NullPointerException

**** Errors

5910 byte By newbie_to_javaa at 2007-10-2 19:29:27
Hey all, ive had some great advice here before so heres hoping for a repeat. I have been given the task of creating a program that will use run length encoding to compress a String. Im sooo close of completeing it im sure!!! Anyway my code is below and i just can see why i am getting an error ...

is not abstract and does not override abstract method actionPerformed

7541 byte By ono45a at 2007-10-2 19:32:20
I dont how to corr. Please help!! and thank you very much!! import javax.swing.*;import java.awt.*;import java.awt.event.*;public class test extends JFrame implements ActionListener, ItemListener{private CenterPanel centerPanel;private QuestionPanel questionPanel;private ButtonPanel ...

Pong Game Error

14308 byte By Guru_grammera at 2007-10-2 19:35:51
This game runs just fine except for the fact that the radio buttons wont change the color of the ball or bar. This program is three classes. Please help me correct.//-//Survey.javaAuthor: Robert Williams////Asks a series of questions and returns results.//-import javax.swing.JPanel;import ...

Runtime java errors

2204 byte By zd_oma at 2007-10-2 19:36:19
I'm working in a web development project using epp-rtk-java. I compiled my java classes and all went fine. When I run the application on a tomcat server I get the following errortype Exception reportmessagedescription The server encountered an internal error () that prevented it from ...

nullpointer exception error of array object

1863 byte By sichlida at 2007-10-2 19:37:14
I hae declared , initialised object array but still i get the uncaught nullpointer exception error in java.langhere is the code :public class GameScreen extends GameCanvas implements Runnable, CommandListener {// statements public int bulletindex =0;BulletSprite bulletsprite[ ] = new ...

java.util.MissingResourceException with

2797 byte By javac.orga at 2007-10-2 19:37:51
I recieve the following error while I was using jdk 1.5.06 javadoc:Loading source files for package com.yamanyar.nwc.utils...java.util.MissingResourceException: Can't find resource for bundle com.sun.tools.doclets.internal.toolkit.resources.doclets, key doclet.齨terfaceat ...

charAT Throws StringIndexOutOfBoundsException.

16473 byte By Brokenstaffa at 2007-10-2 19:42:06
The program works fine until the user has finished entering the Swell Heights then it returns to the menu and then Throws this silly exception.=(import java.util.Scanner; //import the Scanner Classimport java.lang.reflect.Array; //import the Array ...

Not including inner classes

1728 byte By Rebels_Mascota at 2007-10-2 19:44:47
I have a custom doclet and need to exclude inner classes from the ClassDoc array, is there a method I'm missing like isInnerClass() or something?I was thinking of writing a method that would take in a class & check to see if it's included in an exclude list but not sure if this is a ...

Bug in storing data

9111 byte By franjova at 2007-10-2 19:45:53
I have a problem with an application I built using Flash for the front end and servlets/beans for the backend.The problem doesn't throw an exception error but something is wrong. I hope I am not posting this in the wrong section but I posted it in the JSP area and no one offered any ...

A Quick Question

232 byte By TrueAcea at 2007-10-2 19:48:01
Is it possible to have a JOptionPane to have two or three rows of buttonsorDo you know an easy way to display a few rows of buttons without declaring a JFrame and having to have each button have it's own class?

Have a problem in Formatting output with Escape Sequence

1537 byte By bskya at 2007-10-2 19:49:28
class Welcome{public static void main(String args[]){//Khong the hieu noiSystem.out.println("Welcome\tto the world of java");System.out.println("Happy\tBirthday");System.out.println("Welcome\" to the world of ...

NoClassDefFoundError

1667 byte By duqxa at 2007-10-2 19:53:44
I have been using NetBeans to develop the java program that I am working. I just recently finished everything and it works fine when I run it in NetBeans. If I try to compile it via the command line 搄ava 杍ar Location.jar?It will have 揓ava.lang.NoClassDefFoundError?I have set the CLASSPATH ...

No Fatar Error Log

372 byte By StephenChunga at 2007-10-2 19:55:15
FolksAppreicate your input here.I am running a java apps (webMethods) using sun JVM 1.4.2_06 under Window 2000. Once in a while, the java apps crashed. I suspect that this is due to the use of JNL (SAP RFC libraries). However, I never get any fatal error log files ...

HELP!!! Problem with PostgreSQL in jdk1.4.2

1479 byte By Janeve_Reckonera at 2007-10-2 19:55:50
Hi,Can anybody help me with my problem. i am using jdk1.4.2 and have a database connection with PostgreSQL Driver. I have connection to the Driver using the following code.Class.forName("org.postgresql.Driver");Connection conn = ...

Javadoc newbie - how to get "USE" content

790 byte By mildly_odda at 2007-10-2 19:59:16
I don't understand how to get content from the USE button. At the moment all my attempts produce a USE button which links to a page stating something like "No usage of root.package.class".My current argument string for Javadoc is something like-d c:\Doc -use C:\Source\This doesn't work ...

Java heap memory errors..

16295 byte By PTR_Va at 2007-10-2 19:59:30
I make a spider program, but it runs out of memory after ~200 websites.after that it crashes.. or becomes so slow its useless.The problem is in this Spider class , that cant be garbage collected (But I dont see any reason why not)These profilers i have seen show you that memory is allocated and ...