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

GCJ 4.1 Windows binary version

3089 byte By CSJakhariaa at 2007-10-2 19:07:30
Does anyone has GCC/GCJ 4.1 Windows binary versionI had downloaded MingW alongwith which GCC 3.4.5 is available but it does not compile Java1.5 files due to the presence of StringBuilder classSo I had read somewhere that this has been patched out by giving support for this additional classSo If ...

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

Finding the cause of a preverify error

1857 byte By jadelindquista at 2007-10-2 19:13:35
I could use some help trying to figure out the source of this error so I can fix it and move on.I'm compiling my j2me code using NB RCv. 5.2. I get the following preverify error ONLY when I have "compile with optimization" and "obfuscation high" set:Preverifying 29 file(s) into F:\Netbeans 5.0 ...

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

JDK 1.5 and Objectstore (PSE PRO)

490 byte By gnorketta at 2007-10-2 19:25:07
I've be compiling my application with JDK 1.4 and using 1.3 for binding those classes for Objectstore. I recently upgraded to JDK 1.5 (1.5.0_06) and the binding (persist) does not work now. I get the following message for all classes I'm try to bind:Error: xxx.class is not a valid class ...

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

Compilation's problems with eclipse

589 byte By alepuzioa at 2007-10-2 19:29:20
helloin working for my thesis with eclipse I have see that the modify to source code have not effect in runt-timeIn effect I have an file .class, I modify the source file .java, I compile and i go this in run with the Eclipse command <<run>> but the behavior not change.I don't lie ...

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

Error in properties

1628 byte By BALA_SINGAMa at 2007-10-2 19:29:37
Hi,I'm newbie for J2EE platform. I downloaded J2EE tutorial from sun site. I try to compile a app which ConvertApp using the asant build comannd.I get this error.buildBuildfile: build.xmlj2ee-home-test:BUILD ...

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

undefined reference: compiling swt using gcj

2036 byte By phsansa at 2007-10-2 19:38:04
Hello guysI'm trying to make an exe from a java code, using GCJ and SWTMy code is this: import org.eclipse.swt.SWT;import org.eclipse.swt.widgets.Display;import org.eclipse.swt.widgets.MessageBox;import org.eclipse.swt.widgets.Shell;public class TestExe {/** * @param args */public static void ...

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

creating an exe of a Java code with GCJ, for Unix from Windows

379 byte By phsansa at 2007-10-2 19:51:54
HelloI'm making some executable files for a Java program, using GCJ.I'm developping under windows.I've succeded creating a .exe file for the Windows platform.I'd like to know if it is possible to create an executable with GCJ, but for Unix, from my Windows platform?If yes, how can I do ...

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

Compiling a Servlet

255 byte By diaruna at 2007-10-2 19:58:15
Iam new to servlets...I have been working only with core java till now..i donnow how to compile it..it says package javax.servlet does'nt exist..i have jdk1.5, j2sdk1.4.2_11, tomcat-5.5.17..plz tell me how to compile it and run it...

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

please help me to check this problem

1637 byte By damnhea at 2007-10-2 20:00:03
I write this program to connect the FTP Server by using the package commons-net-1.4.1.jar which i download from http://jakarta.apache.org/site/downloads/downloads_commons-net.cgithe code is below .It is no problem when I compile ,but it causes some problem when i run it .import ...

java.lang.NumberFormatException

7530 byte By NetWorriera at 2007-10-2 20:02:51
this my codeimport java.io.*; import java.net.*; import java.*;class UDPServer { public static void main(String args[]) throws Exception { UDPServer t = new UDPServer();DatagramSocket serverSocket = new DatagramSocket(5551); while(true) { DatagramPacket receivePacket = new ...

java.lang.NullPointerException

322 byte By anmolgrada at 2007-10-2 20:02:53
hi 'm gettin this error java.lang.NullPointerExceptionat com.att.adv8.servlets.cis.RequestHandler.doPost(RequestHandler.java:27)n line 27 of my program is request.getRequestDispatcher("../cis/add_"+fname+".jsp").forward(request, response)kindly help me to debug th error ...

Help me please

157 byte By lionkingjavaa at 2007-10-2 20:03:54
I write this code :int a = 1;a = a++;System.out.println("a = " +a);It printed a= 1; Anybody know why ? Thanks alot.

problem referencing to methods with generic type parameters

651 byte By ctron@dentrassi.dea at 2007-10-2 20:07:21
Assuming I have an interface like to following:public interface Test <T> {void test ( T arg0 );void test ( T arg0, Object arg1 );}I would like to reference to both "test"-methods using "{@link #test(T)}" and "{@link #test(T,Object)}".But this generates an error telling me "test(T)" and ...

Program crashes if you enter in the wrong data...

470 byte By darrenhamiltona at 2007-10-2 20:08:16
Ok, my problem,I have a java application that reads in Currencies , now when I read in the correct currency symbol it works 110% and Im delighted with it.....however when I read in a dud currency it crashes and the application never completes what it is suppopsed to.......Is there anyway of ...

Unsupported major.minor version 49.0

1875 byte By flomastera at 2007-10-2 20:09:56
Hello everyone, I am executing the next code...import org.xml.sax.InputSource;import javax.xml.xpath.*;import org.apache.xpath.NodeSet;public class peos {public static void main(String[] args) {try {XPath xpath = XPathFactory.newInstance().newXPath();String expression = ...

Need Help! (Tokenizer error)

3074 byte By Avida at 2007-10-2 20:10:07
Hello,i am currently ubdertaking an introduction to programming coarse and for one of my assignments i have been asked to create a program that will read read a file that contains the number 1-10 in this format;12345678910The program must read these numbers, print them, find there sum then ...