Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~3K People Reached
Interests
Java
Member Avatar for sawant_nitesh

Why this code fails.... ? [CODE] String a = "abcd/dgws"; a.replaceAll("/", "\\"); [/CODE] it results in ...... Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(String.java:558) at java.util.regex.Matcher.appendReplacement(Matcher.java:696) at java.util.regex.Matcher.replaceAll(Matcher.java:806) at java.lang.String.replaceAll(String.java:2000)

Member Avatar for sawant_nitesh
0
307
Member Avatar for Rockyboy53

How would you split an existing string where a chararacter occurs into an array of strings, and store that character in a char? For example, inputting 123a5 would return {123,5} in an array and 'a' in a char. I've confused myself with this. I will greatly appreciate any help.

Member Avatar for Rockyboy53
0
81
Member Avatar for sawant_nitesh

I want to develop a JAVA application which can send and receive SMS. I have a mobile phone connected to PC through USB cable. This JAVA program in PC should be able to send and receive SMS. AT commands are used to instruct mobile phone to send/receive SMS. But how …

Member Avatar for peter_budo
0
492
Member Avatar for student.09

Hi, I need help getting the basic idea of how to begin writing this Strings program: file has last name(1word) & email address objective of prgm is to validate email address [LIST] [*]1 "@" symbol; no space left of it [*]1 "."; no space on both sides of it [/LIST] …

Member Avatar for sawant_nitesh
0
263
Member Avatar for sawant_nitesh

content eg. 1. java.lang.String, 2. java.util.HashMap<Integer, Integer>, 3. java.util.ArrayList<Integer>, 4. java.util.HashMap<Integer, ArrayList<String>>, 5. java.util.HashMap<Integer, ArrayList<ArrayList<String>>>, I need a regex for matching method parameters in Java. I have tried with this one.. ([a-zA-Z\. ]+,)|([a-zA-Z\. ]+<[a-zA-Z\., ]+(<[a-zA-Z\., ]+>)*>[ ]*,) It is matching first 4 strings. But it is not matching 5th one, …

Member Avatar for Freaky_Chris
0
86
Member Avatar for jrosh

I want to transfer data from mysql database to an msexcel sheet... Is it possible with java. how?

Member Avatar for jrosh
0
116
Member Avatar for sawant_nitesh

There are many[COLOR="red"] [I]Java Decompilers[/I][/COLOR] which can decomile [COLOR="Red"][B][I].class[/I][/B][/COLOR] file to [COLOR="red"][B][I].java[/I][/B][/COLOR] file revealing the source. Is there any way to prevent this reverse engineering ? Like in .Net framework, once .dll or .exe is built, noone can reach to source code. ?:S

Member Avatar for verruckt24
0
119
Member Avatar for sawant_nitesh

What is the best approach of writing java code in following 2...... ? What happens at jvm level in each case ? 1. [ICODE] for(int i=0;i<10;i++) { MyClass m = new MyClass(); m.doSomething(); } [/ICODE] 2. [ICODE] MyClass m; for(int i=0;i<10;i++) { m = new MyClass(); m.doSomething(); } [/ICODE]

Member Avatar for javaAddict
0
113
Member Avatar for sawant_nitesh

I want to write a program , [COLOR="red"]JProgressBar [/COLOR]with [COLOR="red"]java.sql.Statement[/COLOR], where JProgressBar gets updated with Statement execution. i.e. I should get progress of Currently executing statement, so that i can set value of JProgressBar... Is it possible ? How to do it ?

Member Avatar for peter_budo
0
100
Member Avatar for k2cool_87

i have a jsp page which initializes itself from a database...it has a series of checkboxes that are being created from the database values...now once the user selects the boxes required by him i have designed a function dat reads the values from the checked fields n stores them in …

Member Avatar for k2cool_87
0
130
Member Avatar for sawant_nitesh

I am confused in choosing JavaScript Framework for my Project. I can choose any one of the following frameworks........ [COLOR="Red"][B]EXT JS[/B][/COLOR] [COLOR="Green"][B]EXT-GWT[/B][/COLOR] [COLOR="Red"][B]YUI[/B][/COLOR] [COLOR="Green"][B]jQuery[/B][/COLOR] [COLOR="Red"][B]dojo[/B][/COLOR] and many more....... I don't have any knowledge of any of above all. I am going to start from scratch. But which one to choose …

Member Avatar for ejosiah
0
50
Member Avatar for sawant_nitesh

I m having many dataobjects (*.java)(having getters and setters) My requirement is that, I want to write a generic Method, which will accept argument as Object and will call all getters of that Object. Basically I want to write a log file with all dataobjects which are going to be …

Member Avatar for masijade
0
107
Member Avatar for sawant_nitesh

I am working on a JAVA project which needs to set the System date and time. I want to open Date and Time Properties of Windows through my Project. When I click on JButton, it should open Windows Date and Time Properties. How to do it ? Please Reply.

Member Avatar for sawant_nitesh
0
74
Member Avatar for sawant_nitesh

What is the future of JAVA ? JAVA was overcoming Microsoft's .net because of it's platform independence. As in coming couple of years , Microsoft is going to launch a version of .net that will support all platforms like windows, unix, linux etc. Then will .net become trouble for JAVA …

Member Avatar for hopalongcassidy
0
177
Member Avatar for sawant_nitesh

I am not able to open some websites. some sites are opening. what is the problem ? please help . I have run hijackthis and i got this log file : Logfile of HijackThis v1.99.1 Scan saved at 9:18:23 AM, on 9/29/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet …

0
80
Member Avatar for sawant_nitesh

I am doing Second year engineering. I am confused with where to go in IT field. I mean which software filed to choose like java, .net , oracle etc. etc. Can anyone help me to choose right field that will be evergreen and interesting as well as easier to learn …

Member Avatar for php_noob
0
74
Member Avatar for Rajveer

Dear All, I have Pentium V 3.0 Ghz Hyper threading system with 915Gav mother board and 256mb of ram. While system was working fine until one day when i started the system and screen was blank with only green light on the monitor blinking. I troubleshooted all the possible things …

Member Avatar for sawant_nitesh
0
84
Member Avatar for sawant_nitesh

I am not able to use my usb pen drive in My Computer. I have windows XP sp 2 installed. Whenever I plug my pen drive, it directly shows "safely remove" icon in the taskbar. My Computer does not show USB drive letter. If I want to access the Pen …

0
60
Member Avatar for sawant_nitesh

I am not able to use my usb pen drive in My Computer. I have windows XP sp 2 installed. Whenever I plug my pen drive, it directly shows "safely remove" icon in the taskbar. My Computer does not show USB drive letter. If I want to access the Pen …

0
68
Member Avatar for sawant_nitesh

I am computer engineering student. I am new here. I hope this community will help me a lot to be successful in IT industry.

Member Avatar for eXceed69
1
41