i find this feature in object c is very powerful.you can add method to a class declared anywhere,not new class.
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
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 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, ...
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
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 ...
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 ...
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!
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 ...
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?
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
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 ...
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 ...
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
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 ...
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.
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. ...
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
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
Hi,What's the closest thing to a release date for jdk 1.5?Thanks,Philippe Laporte
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 ...
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 ...
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 [] ...
how can i run "main" method of other class ,that is not located in present working directory,in my running application?
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 ...
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 ...
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 ...
77 byte By
a_c1a at 2007-9-28 11:23:23
how i can create executable copy of my applcation (.exe)thanks
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 ...
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, ...
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?
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, ...
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?
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 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 ...
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
How to retrieve the file information such as file size, fie type, last date modify/create?
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.
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! ...
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 ...
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, ...
Is there any information available on when J2EE 1.4 istargeted for final release?
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 ...
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.