1 2 3 4

add categories to java

140 byte By rhapsody88 at 2007-9-26 22:22:53
i find this feature in object c is very powerful.you can add method to a class declared anywhere,not new class.

Source code for java2 sdk 1.4?

185 byte By jgrafstrom at 2007-9-26 22:50:40
Will the source code for j2sdk1.4 be releasedlike 1.2, 1.3, 1.3.1? (Source Community Licence).If so, is there a plausible date for when? /Johan

Can i create "Always on top" funciton in JAVA?

508 byte By kostrich at 2007-9-26 23:27:22
Hi, my name is Chang Hee Lee and I am a programmer in South Korea. We are developing a messenger program in JAVA. I have been trying to create a tool like MSN messenger's "Always on top" function under Tools in the menu bar. I could not find any way to develope the same function in JAVA. I ...

i want to record a call fom modem

510 byte By mohamedfakhry20 at 2007-9-27 1:43:09
I make an application that recieve any incoming call witin modem and also i can reply on it, but if i want to record the call i have a problem, when capturing the audio with JMF it can't capture the audio when the mic and headphone in the modeem, it detects it only when the mic in sound card, ...

How to add an Attribute to Class in JMI?

216 byte By weerasak at 2007-9-27 1:55:29
In JMI specification (JSR-040), I still don't understand how we add attribute and/or method objects to a class object. Any clue? Please respond and cc me at mcgyver@writeme.com.Thanks,Mac

how to generate random numbers of the same at each time of execution of thm

1332 byte By jayashankar at 2007-9-27 1:56:34
dear friendsi am facing a problem that the random numbers generated at time of each exectuion of the program are not the same, i want to generate the same random numbers every time time i run the program. i need your help. i am giving the code in c++ if anybody can help in providing the ...

RFE Proposal Set Operations - RFC

14424 byte By Derisor at 2007-9-27 2:55:21
Greetings, this is a proposal for a Request for Enhancement in the JDK. Itis posted here for the review and comment. Basically an RFC on a RFE. =)Please indicate your comments on the matter. The proposal is to have a set of operations for perfomring Non-destructivemathematical set operations on ...

CDMP Protocol Specs

126 byte By mkhodaba at 2007-9-27 6:44:45
Does anyone know where I can find the specifications for CDMP Protocol? All replies will be greatly appreciated!

shotest path code help

5867 byte By Xman02a at 2007-9-27 7:33:09
Hi, i am stuck with this piece of code, not sure how to finish it up. Have modyfied as per requirement, but Still 2 more parts to add:1) Enteingr a node identifier, such as "F" when prompted.2) To see the path from the specified node back to the START node.The user enters "exit" to halt the ...

You know the Answer....

206 byte By nomy_with_javaa at 2007-9-27 8:19:06
Hi dear..!Is there any API or method with the help of which, i can know the Telephone number of the client who connect with my site( Servlets ) or is it possible or not.......... Plzz help me?

JTAPI (default provider can not be instentiated)

237 byte By ziageea at 2007-9-27 9:21:49
Hi,I am trying to run a simple program which should detect incoming call. but prgram is trhought following exception'default provider can not be instentiated'looking forward for ur responsezia

Restricting 2 java instance running on the same machine

367 byte By balabaska at 2007-9-27 9:56:24
Hi, I need to restrict 2 instance of the same program on a single machine. how to acheive this. eg) consider a helloworld java programm run from 2 different command prompti need to bring the first instance on top when ever the user tries to run another instance from the same machineany ...

Why not introduce a "but" condition?

691 byte By alexanderHa at 2007-9-27 11:23:03
Hi,why not introduce a "but" condition into the Java language?Here's an example:if(earth.isUnderAttack()){牋爂o to 10}but if(earth.getAttack().getAttacker().equals("alien") && earth.getStatus().equals("nice place")){牋爂o to 20}else{牋爂o to 30}Doesn't it look nicer, rather then doing it ...

How to submit a success story to Sun?

186 byte By clinton_listenera at 2007-9-27 12:47:46
Hi,can anyone tell me how I can submit a success story toSun? There used to be a Web site for doing that, butI couldn't find it any more.Thanks a lot

Does Microsoft have anything even remotely like JCP?

408 byte By inertia186 at 2007-9-27 14:46:17
I know this is an odd place to post a question like this. But I was wondering if Microsoft had anything even remotely like Sun's Java Community Process Program ( http://www.jcp.org/ )?It seems like such a great idea, and if Microsoft is going to compete with Java, it would seem like a good ...

Individual Contribution

162 byte By St0rm at 2007-9-27 15:00:56
I wish the JCP entry for individuals was cheaper. I can't afford it, but I would really like to clean up some of the API and make some suggestions.

Java 3 API

2203 byte By St0rm at 2007-9-27 16:11:33
I wrote a little doc about what I think should happen in Java 3.Pete's Top 20 Ideas for the next JavaThe first ten or so are based on Eliotte's article, "10 Reasons WeNeed Java 3.0," and the comments to it.1. Delete all deprecated stuff2. Fix incorrect naming, including get/set in java.nio3. ...

What does "FCS" mean?

269 byte By saeedzadeh at 2007-9-27 19:13:38
Hi AllI thought that FCS means First Candidate Release, but now I think I have bean wrong, because the last word is S not R!!!So does anybody know what does it mean?Is the JDK 1.4.1. FCS, a stable, final version or not yet?Thanks alot

Servlet not responding in the BonusCalculationServlet example

499 byte By kduncan100 at 2007-9-27 19:58:24
I am using the J2ee application server, trying to run the BonusApp example. If your not familiar with it, it is a two-tier application. Now I did everything right as far as add all the components to the Application. Why when I run the file bonus.html (after the application has already been ...

installing java

305 byte By dudsspuds at 2007-9-27 20:42:36
connot get java to run I installed jdk1.3-0 and javasoft every timeI try to complie it's saying connot open javasoft so I try to uninstall javasoft as all I need is jdk1.3 but I connot do so message said missing uninstall file how do I uninstall with out the unistall file what should I ...

"Coffee is to stool as JAVA is to tool."

711 byte By lgdouglas at 2007-9-27 21:39:00
I have been using java for 4 years now. I am really getting sick and tired of its poor enviroment stablization.I think it is very close to one of the most powerfull tools available mainstream today. However, I think its deployment and evolution have been rushed without learning that a language ...

Package

123 byte By Juan27 at 2007-9-27 21:41:53
Hi, does any body knows in what .jar file is the com.sun.xml.tree package? I need the XMLDocument classThanks

JVM problem with Win XP

469 byte By microtiger33 at 2007-9-27 22:42:00
I just downloaded the latest JVM 1.4.1_01 and installed in Win XP Prof.When I tried to open the Java Web Start, or tried to surf some web sites using Netscape 7.0, it gave me the Javaw.exe - Entry Point Not Found message: "The procedure entrypoint_JVM_SupportsCX8@0 could not be located in the ...

Problem with Sun One Studio 4

866 byte By don2109 at 2007-9-27 23:05:56
If this isn't the right place to post this, please let me know. Haven't found anyplace obviously right.Last week I downloaded and installed Studio on my work PC running NT 4.0 and my home PC running Win 98. On each I followed Help instructions developing ColorSwitch application. Everything ...

A little advice on Team Development

448 byte By McGuiganJa at 2007-9-27 23:53:38
Hello,Until recently I was the only developer for the company. With new developers working here, how can I implement some kind of team enviroment for updateing the code. Trying to avoid a complete mess with someone changing code and not everyone else getting it, or losing code.Looking for some ...

jdk 1.5

110 byte By philippe_laportea at 2007-9-28 1:57:37
Hi,What's the closest thing to a release date for jdk 1.5?Thanks,Philippe Laporte

null metadata keyword -> JCP idea if enough support ?

3018 byte By trix1234a at 2007-9-28 3:54:22
Null Metadata Keywords,In an ideal development world we apply proof of correctness algorithms to our source code to prove that we've handled all possibilities and there are no bugs. We need to ensure that all functional possibilities are handled. Ideally we need to tie all the various ...

how should I use .getClass() ?

668 byte By cactusssa at 2007-9-28 5:26:33
adding objects to a Vector, I'd like to retreive them with the correct original class type :Vector v = new Vector();User visitor = new User(1,"joe");History hist = new History(1);v.addElement(visitor);v.addElement(hist);Object oVisitor = v.elementAt(0);Object oHist = v.elementAt(1);// of ...

List classes in package

462 byte By kpaulsa at 2007-9-28 6:32:15
Is there a JSR for listing packages within a class?For example, instead of writing an algorithm to disect "java.class.path" list all the files and stick them in a map, the ClassLoader could do this as classes are created. Such a document would also suggest functions simmilar to String [] ...

invocation of other class

133 byte By roneypatela at 2007-9-28 6:47:17
how can i run "main" method of other class ,that is not located in present working directory,in my running application?

Static data sharing

806 byte By madanvishnua at 2007-9-28 6:59:29
I always thought that a object cannot be modified unless u have explicit referece(authority to modify)but the code below allows me to modify the property effecting all the objects ob the base class i doubt(Though i have no rights to say so)it obeys OOPs priciplesthe code for r4eferenceplease ...

Who wants 5 dollars ?

1179 byte By nath_amita at 2007-9-28 7:43:48
I wrote a public class Time ( saved it in Time.java ) in a package amit.java.time and another public applet class TimeTest ( saved it in TimeTest.java ) which imports the Time class . Both the class and the applet class code compiled successfully . But when I run the appletviewer from command ...

i-appli with forte for java

470 byte By alexweia at 2007-9-28 10:14:05
Now I am using i-appli to develop java applications on i-mode mobile phone. I'd like to ask some questions about i-appli with forte for java. I install Sun ONE studio 4 and then install i-appli, but these two things can't combine together. When I write a program by forte for java, the i-appli ...

create executable copy

77 byte By a_c1a at 2007-9-28 11:23:23
how i can create executable copy of my applcation (.exe)thanks

Java USB API

526 byte By dchansa at 2007-9-28 11:30:15
Does anyone know where to find some example source code for communicating with USB devices via Java ?I downloaded the Java USB API version 0.10 and compiled the jsr80.jar file using ANT but the system seems unable to recognise the jar file as I can't use the properties of the API. There is ...

I need help for this!!! please reply ASAP

1136 byte By goquia at 2007-9-28 11:47:10
my program doesn't work: pls give the needed info so that i can make this thing work...thank you very much for your kindness...package ch4_32;import javax.swing.JOptionPane;class ch4_32c { public static void main( String args[] ) //{int x, Cntr1, Cntr2;//String how_many;//double fact, result, ...

Sun One Studio 4 CE update 1 & XP-Home

266 byte By briancannona at 2007-9-28 12:27:20
I've downloaded and installed the Forte/Studio One Community Edition (version 4 update 1) successfully on my W2000 system but when I install it on my XP-Home system, exiting Studio One causes my PC to reboot.What can I do to run this IDE on my system?

Providing JVM for .NET CLI

608 byte By intangira at 2007-9-28 13:45:09
I think it would be a chessmaster move if Sun develop and provide a JVM that runs inside .NET CLI (Common Language Infrastructure).Such VM could use some features of .NET, such as the Jitter and the Garbage Collector.A more agressive move would make Java use COM+ in the RMI/JNDI implementation, ...

Print quickly an image file

215 byte By simone_realia at 2007-9-28 13:52:49
I print an image file with classic method (Make a Book object and send it to a PrinterJob) but the program send to the print 11 MB for each page.How can i print quikly an image file in another method?

Help USB?

472 byte By tag_pramoda at 2007-9-28 14:19:07
Please Help Me, I am new to USB , I want to develop an application which will communicate the Phillips PDIUSBD11 USB controoler chip.I am using windows 2000, I have downloaded the javax-usb_0.10.0but did not find any jar file in it, and it seems to it is for Linux only,Please help me for that, ...

Research into extream programming, need your thoughts

806 byte By MmartinHa at 2007-9-28 15:08:51
Research into xp, Your ThoughtsI am a student researching into Extream programing. i am to create a development tool that will help people co-ordinate their xp projects. therfore i need help from the people who use XP or have chosen against using it. What i need to know is if there are any ...

JAVA TO C or C++ compiler needed

266 byte By pradeep_029a at 2007-9-28 18:01:05
hello friends can u help me how to convert a java program to C or C++ or assembly program .I have tried Harrissa,toba and JCC they are running properly if anyone has used it please inform me and help me how to do this .. my email is pradeep_029@rediffmail.com

Retrive file information

97 byte By tssprograma at 2007-9-28 18:58:34
How to retrieve the file information such as file size, fie type, last date modify/create?

Early Access explained?

241 byte By balteoa at 2007-9-28 19:22:45
Hello,Some products are in early access stage. (ex: java server faces). Can someone tell me what the other stages are and where I can find more info about the whole process on Sun's site?Thanks in advance,Julien.

Parse all elements in a tree!

336 byte By kauboy007a at 2007-9-28 19:29:20
Hi! I want to implement a Search function that searches if the string in the Search Text Dialog is a Node in a tree! Can any of you guys jus help me out with it? I have accepted the String form the Dialog, but need to know of a way to parse the entire tree to search all its elements/nodes! ...

JAVA multiple class file

5856 byte By whasian85a at 2007-9-29 1:50:54
I just started learning JAVA a couple of days ago and the first program I wrote had two classes in one file. here is the program :class fib_num {public int value;public boolean is_even;} class Fibonacci {/** Print the Fibonacci sequence for values < MAX and mark even numbers with an asterick ...

java too difficult

1182 byte By blazeya5a at 2007-9-29 2:29:34
When I first started doing java I thought it was the worlds greatest language, anything I wanted to do was in one of the system classes. However now I'd like to relate a little story: our company builds commerce sites, and we use perl,java and now .net , I had a project to monitor the servers, ...

J2EE Edition 1.4?

95 byte By Andre0815a at 2007-9-29 3:41:43
Is there any information available on when J2EE 1.4 istargeted for final release?

Urgent help...java.sql.SQLException: ResultSet is closed

3152 byte By zero_zero_zeroa at 2007-9-29 4:47:16
i want to select data from two tables,'orderstest' and 'info' then insert these data to 'dw' table,the system display:java.sql.SQLException: ResultSet is closed.why?thanks firstthe following is the code:-public void fMade() throws SQLException,ClassNotFoundException{try{RInfors = new ...

ObjectInputStream

237 byte By kathyhuynha at 2007-9-29 5:24:29
Here is my codeObjectInputStream in = new ObjectInputStream(socket.getInputStream());Vector v = (Vector) in.readObject();I got a ClassCastException error on the second line and not quite sure why. Please help.