32,199 Topics
| |
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. | |
Thanks for all your replies but I have a one more big issue. Actually I am migrating my application from websphere to JBoss. In my application there are 3 deployment descriptors files in each ejb jar. ibm-ejb-jar-bnd.xmi ibm-ejb-jar-ext.xmi code for ibm-ejb-jar-bnd.xmi <?xml version="1.0" encoding="UTF-8"?> <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="[URL]http://www.omg.org/XMI[/URL]" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1101636685106"> … | |
Hi guys.. I dont know whether am asking a valid question.....but am having this doubt.... can we Customize the jar file icon...is it possible?? I just want to change the icon for the jar file.. i just want to use my own icon..is it possible??? | |
Hi I am trying to write a simple J2ME application, (I've only started learning it), and am getting the following error: Unable to create MIDlet null java.lang.NullPointerException at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) I don't know what's wrong. Any suggestions would be greatfully received. My code is as follows: [code] import javax.microedition.midlet.*; … | |
Hi people I'm new to posting here so sorry if I get the code wrapping thing wrong Bascially I think I'm having a heirachy problem and its probably really obvious. This is the the class with the error. The top line gives me an error saying cannot find symbol, constructor … | |
I need a help. Online projects written in servlet only or any other language unsing me. Me doing a project but its not an online project so i have written this programme in servlet. |
The End.