Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
76% Quality Score
Upvotes Received
48
Posts with Upvotes
39
Upvoting Members
17
Downvotes Received
23
Posts with Downvotes
21
Downvoting Members
6
6 Commented Posts
~141.60K People Reached
PC Specs
OS Name Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600 System Type X86-based…
Favorite Tags
Member Avatar for Xeros606

Not an ArrayList. An Array. For some reason, my teacher (or rather, the lesson plan we are using) requires that we make a program that takes an array of integers and removes all the zeroes. So far I have: [CODE] public void remove(int index) { for(int i = index; i …

Member Avatar for JamesCherrill
0
3K
Member Avatar for snigger

Hi I need to show an image thumbnail in one of jTable cells But I don't know how to do it! I'm using netbeans to design GUI . How can I do that? Thanks

Member Avatar for JamesCherrill
0
4K
Member Avatar for yuvi2288

hi experts, [code=html]<a href="http://www.example.com"> goods </a>[/code] this is the hyperlink i have to used for example. i want to get the term 'goods' in the above hyperlink through jsp if i will click 'goods'. can i get the term in jsp like the below snippet?? [code]<% String goods=request.getParameter("goods"); %>[/code] or …

Member Avatar for Vishija
0
14K
Member Avatar for beanboy

hi,.... i am trying to develop a one-to-one [B]chat application[/B] as a part my j2ee web app (jsp and servlets used) ,... help me with this. what els should i learn in addition to socket programming? which architecture should i follow? how many days wil it take for an avaerage …

Member Avatar for JamesCherrill
0
198
Member Avatar for parkz16

there are no visible error in the syntax but when i run the application i keep getting the following error. i have been trying to fix it for hours and simply cant find the problem. the error that appears when running is; Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.JComboBox.setModel(JComboBox.java:292) at …

Member Avatar for bguild
0
33K
Member Avatar for shopnobhumi

Hi, i want to convert a .jsp file to .java file. I read various forums and they said to use tomcat to convert .jsp to .java.I have ran tomcat but it is not doing anything(i cannot write anything). Through command prompt i ran it and it just opens a new …

Member Avatar for stultuske
0
4K
Member Avatar for gingerfish

hi whats the meaning of these signs? for example: [B]System.out.printf("[COLOR="Red"][U]%6s %6s %10s[/U][/COLOR]", "x1", "x2", "(y1, y2) \n");[/B]

Member Avatar for javaboy123
0
9K
Member Avatar for HesterSuma2007

our assignment is we are going to create a calculator(console based) in JAVA but my problem is how could I make equal sign as a terminator.. for example i'll add 5+10. if i press equal.. the answer will come out instead of pressing enter key..

Member Avatar for HesterSuma2007
0
158
Member Avatar for AppB

Hi Everybody, I want to send Free sms in java without using any modem please help me out,i have been doing this since one week. Any help will be deeply appreciated. Thanks in advance Arpita :)

Member Avatar for masijade
0
112
Member Avatar for musthafa.aj

hi! can any one suggest me tutorial site for spring security... thank you !!!!!!!!!!!!!

0
73
Member Avatar for musthafa.aj

i run command to update all packages... the error came like this [CODE]E: Couldn't find package libmp3lame-dev[/CODE] what i need to do...

Member Avatar for jino
0
180
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
309
Member Avatar for prem2

Hi , I am having a hashtable which consists of some keys and values.I can able to get the information from the hashtable using iterator or Enumeration. [code] import java.util.*; import java.util.Hashtable.*; import java.util.Iterator.*; import java.util.Enumeration.*; import java.io.*; class ex_hashtable { public static void main(String args[])throws IOException{ Hashtable<Integer,String> hobj=new Hashtable<Integer,String>(); …

Member Avatar for prem2
0
134
Member Avatar for selfrules

anybudy can explain how do i connect my weight machine to pc...to calculate the weight of the object in pc.....

Member Avatar for NormR1
0
102
Member Avatar for musthafa.aj

afaik, i know the overall concept about this. but i need to know any in depth difference between them. and how one is better than others? when and where it will be used ?

Member Avatar for java_programmer
0
202
Member Avatar for gunjannigam

Is it possible to access a TCP server running outside our LAN through internet? I thought we could use the router IP Addess(which I got from whatismyip.com) in the class Socket Constructor[CODE] Socket(InetAddress address, int port) [/CODE]. But client wasn't able to find the server. Has anybody successfully achieved this …

Member Avatar for musthafa.aj
0
647
Member Avatar for musthafa.aj

afaik, string is immutable and string buffer is mutable. when we concatenate characters with string new string object will be created. but when we append string buffer it remains the same object. apart from these what are the key and other difference between them?.

Member Avatar for zerocool21
0
141
Member Avatar for prem2

Hi, I have downloaded a sample jms program from the below url and try to execute it in my system.But, it shows the below error.Can any one know how to execute the Jms programs in the system. [url]http://download.oracle.com/javaee/1.4/tutorial/examples/jms/simple/src/SimpleProducer.java[/url] Error: package javax.jms does not exist [code] import javax.jms.*; ^ SimpleProducer.java:90: cannot …

Member Avatar for prem2
0
5K
Member Avatar for new_programmer

I want detailed explanation about static int var; final int var; static final int var; Please explain it in the memory implementation level. If there is any mistake in these please explain. __________________

Member Avatar for masijade
0
420
Member Avatar for SiraRaven

I'm try to go through a file that's formatted as follows: f 5//10 3//2 6//3 f 9//3 20//15 3/20 etc. I want to pull out the numbers, subtract them by some set number, and then output them. I'm using a scanner to read each line of the file, but next …

Member Avatar for masijade
0
126
Member Avatar for har58

Hi, I need to select 5 distinct random numbers out of 20 in my java program. I am able to select 5 random numbers, But I want these 5 numbers to be distinct,,,i.e. unique for e.g. I dont want them to be like these 5,6,9,6,1 because 6 is repeated I …

Member Avatar for tong1
0
171
Member Avatar for Mylsamy

Hi all, I am using getBytes() method in Java to encode the String, When I encode the String some string values does not Encode.. The Code is String psString ="ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö"; psString = new String(psString.getBytes("UTF-8")); I am Using Netbeans tool for Java. In Windows XP OS , it converts in to …

Member Avatar for musthafa.aj
0
760
Member Avatar for diyez treze

hi can you please improve my code.. thanks hope you can all help me... here's my codes: import java.util.Scanner; public class NumberToWord { public static final String[] DIGITS = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; public static final String[] TENS = {null, "twenty", "thirty", "forty", "fifty", "sixty", …

Member Avatar for jon.kiparsky
0
138
Member Avatar for Kshawn

I want to call a 'C'api called BUICInit() in vendors dll from java using JNI.but the generated function name using javah is java_classname_API().so I kept my own dll and from my dll i called vendors dll.. I used loadlibrary()/getprocaddress()..it is working but is there any possiblities with out using getprocaddress …

Member Avatar for Kshawn
0
212
Member Avatar for Mylsamy

Hi all, I am using Netbeans for Java and MySql to Store my Datatbase, I get inputs from User and Encode the String input and Store the Data in my Database , My Problem is Some Strings are Stored as '??????' in my database. I am using code for Encoding …

Member Avatar for Mylsamy
0
129
Member Avatar for Cabrakan

Hi, look I've been with a very frustating problem for like 2 or 3 days now, I have advanced but think I've gotten to point where cannot go any further I need some help and the sdn (business objects) forum regarding this topic simply suck, there's only one guy answering …

Member Avatar for musthafa.aj
0
428
Member Avatar for vinithktp

Hi All, I cannot export big numbers to excel. I am using POI jar files for jsp to excel export. Here i am pasting my source code. [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Export to Excel</title> </head> <body> <table cellpadding="3" cellspacing="3" border="1"> <tr> <th>9 Digits</th> <th>18 Digits</th> <th>27 Digits</th> </tr> …

Member Avatar for vinithktp
0
1K
Member Avatar for ueoptimum

[CODE]import java.io.*; public class inout{ public static void main (String[] args){ int a; BufferedReader num= new BufferedReader(new InputStreamReader(System.in)); try {System.out.println("Enter a number: "); a = integer.parseInt(num.readLine()); System.out.println("THE NUMBER IS" + a); } catch(IOException e) {System.out.println("ERROR"); {}}[/CODE] [CODE]import javax.swing.*; public class jopt{ public static void main(String[]args){ int x; x = Integer.parseInt(JOptionPane.showInputDialog("enter …

Member Avatar for ueoptimum
0
787
Member Avatar for jemimaloh

Hi there! this an excerpt from an extracted pdb file my team has done in the format of a text file. ATOM 1 N ASN A 2 [B]18.668 27.299 52.379[/B] 1.00 41.19 N ATOM 2 CA ASN A 2 [B]19.400 26.674 53.492[/B] 1.00 40.18 C ATOM 3 C ASN A …

Member Avatar for jemimaloh
0
2K
Member Avatar for Vishwa Vijay

Hello there, I am able do run rmi over lan but when I want to access my rmi server from other system which is out of my lan network it doesnt work. My ip address what I check by ipconfig/all is locally assinged ip address and my ip address check …

Member Avatar for Vishwa Vijay
0
83