Split a string into characters612 (11/18/2006 3:53:24 AM) comp.lang.java.programmer I'm trying to do an unbelievably simple thing but it's not working. I want to split a string into its constituent characters. I want to split the string 83AV into 8,3,A,V. I use the following code: String st... zakhan(1)
Wrap text in the list box334 (11/27/2006 3:34:26 PM) comp.lang.java.programmer Hi All There are four list boxes in four different columns of a row In the table in a jsp page. this table has a fixed width. But There are few long items in the fourth list box, that results in the expansion ... ravi.sgn(17)
Java Number Object320 (11/27/2006 6:20:01 PM) comp.lang.java.programmer I got a function contain Number Object public static String test(Number p1) { } how could I pass the parameter into it? Thanks String a = test( 123.45 ); String a = test( (Number)123.45 ); .... those r not ... calvin.chan.cch(4)
design question #7 #2526 (12/6/2006 9:27:27 PM) comp.lang.java.programmer hi In a project I just started in a came across a questionable design, and I thought I'd ask this group how to improve on it. The simple design was as follows (as I remember it right now), an Appointment cla... spam225(180)
help #12 #21528 (12/12/2006 4:39:15 AM) comp.lang.java.programmer default access in class, I declare a class like: class ClassA { int getValue() { return 0; } } then what is the type of method:getValue? public?protected?or private? I use ClassA.class.Get... jht5945(13)
WTF? #2212 (12/18/2006 2:26:44 AM) comp.lang.java.programmer Here is the code: public class Test { public static void main() { System.out.println("Testing ...."); } } yet I am getting this error .....Exception in thread "main" NoSuchMet... madmax138(2)
servlet + hyperlinks334 (1/8/2007 7:43:37 PM) comp.lang.java.programmer Hi, I'm writing a servlet that creates a html page with hyperlinks on it. When I use the following code: out.println("KEY: g - Google); It creates the link but it adds it on to the servlet name like http://l... cormacdebarra(60)
Harry Potter14337 (7/22/2007 8:46:04 AM) comp.os.os2.advocacy How many peeps do you reckon stopped playing classical music today to read the new Harry Potter book ? ... Riff(188)