| Thread | Last Post | Replies |
|
| Can I combine GUI & Applet? | 02 Dec 2006 23:27 GMT | 6 |
I know how to write a program that can be used as a command line utility or with a standard Swing GUI. Is it possible to extend the same program so it can also run as an applet? I suspect the answer is NO, at least not without duplicating a lot of
|
| Bogus NullPointerExceptions | 02 Dec 2006 21:52 GMT | 97 |
while (!dir.equals(baseDir) && dir.list() != null && dir.list().length == 0) { File parent = dir.getParentFile(); dir.delete();
|
| Struts Help | 02 Dec 2006 19:46 GMT | 1 |
I am trying to build a page which will diplay data from a specific table using struts in netbeans 5.0. I created a dummy page test2.jsp which is the input to the target jsp file "/loginSuccessful.jsp".
|
| Peterson's Algorithm in java, sequencial instruction execution ? | 02 Dec 2006 19:03 GMT | 53 |
I have to implement the Peterson's algorithm in java. For who of you which is not aware about it, is a low level concurrency solution for two threads that want to use a shared resource.
|
| Is this compiler warning impossible to get rid of? | 02 Dec 2006 17:31 GMT | 3 |
I'm talking about of the following warning: "myClass.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details." Usually when this warning occours for a LinkedList or for other linear
|
| question relates to instance variable initialization | 02 Dec 2006 15:57 GMT | 8 |
I am unclear about the following two ways to initialize instance variables. public class MyClass { private int num = 9;
|
| Get performance statistics? | 02 Dec 2006 15:48 GMT | 20 |
I would like to collect, inside a Java application, statistics such as the amount of CPU time used. Any idea how? I can, of course, measure the elapsed time, but that does not tell me how much time was spent actually computing vs. waiting for disk.
|
| question about syntax | 02 Dec 2006 12:13 GMT | 3 |
A standards document I am reading defines a packet format using some object-based language (Java I think). I would really appreciate it if any of you could tell me what the meaning of the following syntax is?
|
| EJB CLietn | 02 Dec 2006 12:07 GMT | 3 |
I am trying to call EJB from client application, but seems like it can't find the ejb I also download a stub file from the admin page and add to the ejb client path. but still without the luck.
|
| why can't run! | 02 Dec 2006 11:53 GMT | 3 |
i just learn java write a applet.. but it can't show what i want... can anyone help me?
|
| Passing array values as tag attributes | 02 Dec 2006 11:23 GMT | 2 |
I am new to JSP technology. Still getting a grasp. I have one quick question. Request somebody to answer this. Is it possible to pass string array (java.lang.String []) as value for a JSP tag attribute? Basically, I'm coding a custom tag that writes
|
| Regular Expression to match the domain part of an email address | 02 Dec 2006 09:59 GMT | 9 |
I'm trying to compile a regular expression that will match the domain part of an email address. The email address has been split into 2 strings, the part before the @ sign and the part after the @ sign. This regular expression is just working with the part after the @ sign.
|
| Wrap text in the list box | 02 Dec 2006 09:36 GMT | 3 |
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 of the list box, hence table width too. Now due to the specified reason data
|
| Suspending and resuming JNI thread | 02 Dec 2006 07:41 GMT | 8 |
Hi all,, I am calling a C native methode from Java in new thread... The C function calling and doing everthing fine.. since it is a long process i want to quit some time before it is going to terminate
|
| Can I make a dynamic list box from DB results | 02 Dec 2006 07:15 GMT | 5 |
I have a JSP page that returns a set of several different values from a db table. I can show these in tabular format without a problem. However I was wondering if there was a way that I could use the information in a drop down list box, maybe use one variable as the Item
|