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 ...
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 ...
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!!!
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 ...
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 ...
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 ...
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 ...
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
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 ...
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" ?/** ...
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, ...
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 ...
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 ...
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
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.
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( ...
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 ...
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 = ...
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 ...
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 ...
i have this Exception but i dont know the reason: Exception in thread"AWT_EventQueue-0" java.lang.NullPointerException
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 = ...
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...
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 ...
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 ...
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 ...
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 ...
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 ...
I write this code :int a = 1;a = a++;System.out.println("a = " +a);It printed a= 1; Anybody know why ? Thanks alot.
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 ...
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 ...
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 = ...
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 ...