32,199 Topics

Member Avatar for
Member Avatar for ronpar123

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 …

0
50
Member Avatar for mengani123

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

Member Avatar for masijade
0
238
Member Avatar for rpjanaka

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 …

Member Avatar for masijade
0
4K
Member Avatar for Venks

I just want to disable the copy option for a file... Is it possible to make it like tht.....

Member Avatar for kashko
0
98
Member Avatar for rbinc

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 …

Member Avatar for rbinc
0
180
Member Avatar for Bamaman37

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 …

Member Avatar for Bamaman37
0
108
Member Avatar for volscolts16

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 …

Member Avatar for peter_budo
0
86
Member Avatar for jan1024188

Hi, I am new to Java. Id like to know if I can use system commands in Java applications. Thanks in advance, Jan

Member Avatar for Infarction
0
228
Member Avatar for bigal_bigal

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 …

Member Avatar for jwenting
0
138
Member Avatar for jan1024188

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]

Member Avatar for jan1024188
0
121
Member Avatar for volscolts16

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 …

Member Avatar for volscolts16
0
257
Member Avatar for singhaldpk

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...

Member Avatar for jwenting
0
70
Member Avatar for vinod_javas

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...

Member Avatar for jwenting
0
85
Member Avatar for Prajijithesh
Member Avatar for livingsword

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 …

Member Avatar for peter_budo
1
120
Member Avatar for mengani123

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

Member Avatar for peter_budo
0
122
Member Avatar for livingsword

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 …

Member Avatar for livingsword
0
141
Member Avatar for alba07

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 …

0
59
Member Avatar for vaniprahalathan

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

Member Avatar for peter_budo
0
52
Member Avatar for livingsword

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 …

Member Avatar for vinod_javas
0
101
Member Avatar for vinod_javas

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... …

Member Avatar for jwenting
0
95
Member Avatar for ronpar123

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]

Member Avatar for jwenting
0
111
Member Avatar for chairmanphp

hello guys...Please tell me the disadvantages of jini tech... i waiting for ur replies........:)

Member Avatar for jwenting
0
36
Member Avatar for vinod_javas

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 …

Member Avatar for jwenting
0
155
Member Avatar for vaniprahalathan

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.

Member Avatar for masijade
0
43
Member Avatar for ronpar123

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"> …

0
66
Member Avatar for vinod_javas

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???

0
65
Member Avatar for mr.sweetchuck

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.*; …

Member Avatar for vinod_javas
0
789
Member Avatar for mesmo

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 …

Member Avatar for Infarction
0
165
Member Avatar for Prajijithesh

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.

Member Avatar for jwenting
0
89

The End.