32,204 Topics
| |
[I]You are to run a series of trials. For each trial you will pick a random number between 1 and . Call this number . You will run tests with this number . For each test you will pick a second random number between 1 and ; call this second … | |
Hiiiiiii everyone....... iam learning java newly......... so i have doubt in writing this pgm can anyone pls tell me out......... "can we write a java program which calls the command prompt" byeeee vineela......... | |
Hi folks , I'm new to j2ee programming and using Netbeans 5.5 , i created a session bean program and deployed successfully in JOnAS application server but i'm not able to run the client program which invokes session bean (EJB module ). when i run client program i'm getting the … | |
When I try to cast an object of NetworkObject class (a class I have created )that has arrived at a server from a client I get an error - java.lang.ClassNotFoundException... client.NetworkObject I have the class in a Server package, but why does it specify that client.NetworkObject is not found, and … | |
I have left out something here or done something wrong?? Background: We are supposed to implement a class ExpApproximator. It uses the power series and keep adding values until a summand (term) is less than a certain threshold. At each step, you need to compute the new term and add … | |
Hi, i am trying to persist the session of my application. i have several complex objects, some of which may not be implementing serializable. i have started with retrieving the session and for each attribute in the session i generate an xml. the problem occurs when i try to convert … | |
please helpme to write a funtion in java. write a functionto validate ip address from a given string. using string tokenizer. ex:- 192.160.1.5 please send me the code. sanjay | |
Hi all, I want to set an integer variable that is begins with 0 (ex: 01, 055 etc). So I don’t want to use strings here, because I want to use this values as mathematical values.. What is the data type that i have to use here..? So please anyone … | |
I just want to disable the copy option for a file... Is it possible to make it like tht..... | |
I have the following lines of code for an assignment. What I don't understand is why, when I uncomment the first few println's before the user prompt in main, the input taken from the function readint seems to capture the first println and not what the user types in. If … | |
Hi, I'm working on a project, but I am lost in this class. I'm taking this distant ed Java class, I work 50 hours a week, and I live 2 hours from the school. Needless to say, I can never get in touch with the teacher. Anyways, I'm trying to … | |
I keep getting cannot find symbol variable i, when I run?? Also I have another posting that is up, how do I mark it as solved??? Here is the dilemma: /** Program to compute the first integral power to which 2 can be raised that is greater than that multiple … | |
Hi, I am new to Java. Id like to know if I can use system commands in Java applications. Thanks in advance, Jan | |
Dear , I have a assignmnet due on tuesday and i have 3 midterms right back to back on monday and tuesday and i don't have time to finish it. I'll include the assignmnet here and would appreciate if somebody can do it for me please. Assignment Goals: 1. Practice … | |
Which book would you recommend for a Java newbie? Perheps this one? [url]http://www.amazon.com/Java-Programming-Absolute-Beginner/dp/0761535225/sr=8-2/qid=1172349683/ref=pd_bbs_sr_2/002-1477243-8540045?ie=UTF8&s=books[/url] | |
This is a lab project we are working on, and I am at a standstill. I am in a beginner Computer Science course, for background purposes, so please don't get too technical. Any help would be greatly appreciated. Thanks [COLOR=#000000]1. [/COLOR][COLOR=#000000]A variable that counts the iterations of a loop is … | |
Hi I am a new comer in JAVA environment.. n willin 2 do a project.. can u suggest me sm gud idea (dt 'll involve n/w technology also).. i m in need of it urgently... | |
what do i do for hiding the close button in frame.... for diabling i hav used this one.. JFrame.DO_NOTHING_ON_CLOSE its working fine... but i just want to hide the close button ..... pls help me out... | |
i have tried to create an applet to just play sound, no buttons or controls. The sound should start playing as soon as the applet starts. But the sound doesnt come. There r no compile-time or run-time error, i've even created the correct policy for Audio Permissions but still no … | |
write a sample code to create singleton class using java. ensure that only one instance will be creted and same will be returned always. please do it. sanjay | |
this is the code that i managed to write after reading for a while. [code] CubicCurve2D cubic = new CubicCurve2D.Double (20.0, 200.0, 200.0,270.0, 30.0,30.0, 250.0, 170); Graphics2D g2 = (Graphics2D) g; g2.draw(cubic); [/code] and this is the output, [IMG]http://img221.imageshack.us/img221/7728/exampletr0.png[/IMG] Now, like u have seen , everything works fine, i get … | |
I am supposed to do a sliding target class, then make a shooter class that shoots up three balls when the user clicks. I think I have the first two classes done, but I am stuck on the class that has three balls to shoot at the target. These have … | |
hi friends, i am doing one project ....in that i have one problem ..if anybody know that how to use popup menu (cut,copy,paste,delete)in textfield means pls help immediately ...... regards, vani | |
hi there everyone. I have a kinda confusing assignment this week. the question is "Write an Applet for formatting inserted data". Now, i can't understand the question and the prof is not very kind. Please help in explaining me the logic. I am not asking for any code, all i … | |
Hey guys.. How to write a textfile..from client to server.. I have tried like this [B] lStrFile = "ErrorLog" +""+day+""+mon+""+year+".txt";[/B] [B] FileWriter fstream = new FileWriter(lStrFile, true); BufferedWriter out = new BufferedWriter(fstream);[/B] [B]out.write("Error ");[/B] in this code the error will locate in current place.. i mean in our project location... … | |
How do I authenticate uid/pwd against a jbOSS realm. Like in websphere I am using [B]com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy [/B] can anyone tell me corresponding code for this in [B][U]Jboss[/U].[/B] [B]Thanks[/B] | |
hello guys...Please tell me the disadvantages of jini tech... i waiting for ur replies........:) | |
Hey guys.., Plz Help me out for this..... Is there any provision.... for giving security to a jar file.....i can easily unzip all the files from jar using winrar... and we can easily get .java file from .class so i want to know is ther any way to provide security … | |
hi, i need your help..........may i have a copy of java comm API for windows. i need it urgently bcoz i nead to read rs232 and transfer the data. tq. please reply as soon as possible. |
The End.