| Thread | Last Post | Replies |
|
| return array of strings to class | 18 Jan 2007 17:41 GMT | 5 |
i'm wriritng a smal programm and i whant to return array of string to class here is an example i whant to do... public class CreateArray{ public static String[] create_str_array(){
|
| What is the problem in this program? | 18 Jan 2007 16:32 GMT | 16 |
//program to find the roots of a quadratic eqaution import java.io.*; public class quadratic_roots {
|
| How do you pass along a mouse event? | 18 Jan 2007 15:48 GMT | 1 |
How do I pass along a mouse event that is collected in a MouseListener to the parent component? Component.processMouseEvent() is protected so you can't call that from the listener. I have a panel that has a bunch of components on it that I detect mouse
|
| Reading CSV-type files... | 18 Jan 2007 15:26 GMT | 7 |
I've got a file in a CSV-type format: elem1:elem2:elem3 foo:xyz:fjhl but sometimes some fields might also be empty:
|
| javac ignores CLASSPATH variable | 18 Jan 2007 14:45 GMT | 3 |
I have the JDK 1.4.2_13 installed on Linux, and have my CLASSPATH environment variable set correctly (it looks correct when I do the "set" command). When I try to compile a java class using the command:
|
| implement writeObject how? serializable singleton how? | 18 Jan 2007 14:34 GMT | 8 |
I have code that I want to execute only once ever, as a side-effect of constructing an object. I have put this in a static initializer. But, if I want to allow the object to be serialized I seem to be stuck, since the initializer is executed during deserialization.
|
| Can anybody please check this code out? | 18 Jan 2007 13:04 GMT | 4 |
I'm rather inexperienced in Java but I'm in need of defining a subclass of JTable(N,N) with non-editable underdiagonal elements. I do not know if it's better to do it by using TableModel or directly JTable, but I used the latter because it looked easier to me.
|
| ConcurrentModificationException | 18 Jan 2007 11:37 GMT | 4 |
I'm trying to merge some Lists, I've got a method called mergeAndSort(List1, List2); I'm calling it twice. as in finalList = mergeAndSort(List1, List2);
|
| regular expression | 18 Jan 2007 11:26 GMT | 3 |
i am new to regular expression finding it difficult to write one for ".." and "..." i'll appreciate if any one provides me with one :) regards
|
| parallel for | 18 Jan 2007 10:26 GMT | 10 |
if i have two arrays of same size and want to evaluate both of them in parallel using for(String s :<String array>){ }
|
| How can we set the horazontal alignment of JTextArea? | 18 Jan 2007 08:29 GMT | 1 |
I have following class which i am using to set the multiline text in jtable's cell. And I want to set the horizonal alignment of cell. How can i do it?
|
| About load-on-startup tag in web.xml in tomcat | 18 Jan 2007 07:23 GMT | 2 |
I would like to start a servlet independent of first request.That y iam using load-on-startup tag in web.xml i.e <load-on-startup>0</load-on-startup>. My Requirement is when ever tomcat server starts it should load
|
| Overcoming POSTDATA Warning | 18 Jan 2007 07:02 GMT | 1 |
I'm hoping that someone here can help us out. We are in the process of re-writing the underlying code for my website (link to old version below). The site is (and will continue to be) driven by PHP, javascript, and MySQL.
|
| Replace method in stringbuffer | 18 Jan 2007 05:24 GMT | 12 |
OMG. This is like my worst nightmare. i wanted to replace all "*" with "occupant". like for instance: by doing alot of research i still cannot get a good description on stirngbuffer replace method. here is my program for the time being. i wanted to keep it as simple.
|
| Creating A Special Type of Swing List Display | 18 Jan 2007 02:59 GMT | 9 |
I want to use something like a list, but with a few changes. I'm hoping there's an easy way to do this that I don't know about or that is so obvious I've overlooked it. I essentially want a list with multi-line items that can be scrolled in discrete increments. Each list item is ...
|