| Thread | Last Post | Replies |
|
| Question about calling constructors of inner classes across different packages | 03 Feb 2008 23:37 GMT | 2 |
Here's my scenario: I have an interface, a class with an inner class that implements the interface, and a second class that extends the first class (and the inner class as well, since I've made it protected.) The interface, base class, and derived class are all in
|
| Help with SSLSocket and friends | 03 Feb 2008 23:10 GMT | 5 |
Can anybody point me to a tutorial or example showing how to create a concrete SSL Socket class and the correct sequence to follow to start and end a connection? I've found a fairly brief tutorial on the JavaWorld website, written in
|
| DatagramChannel.receive() | 03 Feb 2008 23:06 GMT | 4 |
I use a selector to manage the unblocking DatagramChannel, When I got the event that I can read from the channel (key.isReadable()==true), I call this method.
|
| Java Socket Constructor | 03 Feb 2008 23:03 GMT | 43 |
We all know that "Socket(String host, int port)" create a client socket which connecting to the target host : port however, which local port does it connect from? I guess it must be a
|
| Can applet use dual/ Quad Cores? | 03 Feb 2008 22:44 GMT | 4 |
I want to use Java applet on 4/8 cores Processors. Will Browser allow the applet to access all 4 Cores to an Applet if it has 4-5 Threads in it? Does a webpage only get one core or it can ask more cores if the applet is using multiple threads?
|
| Does an outer class have access to private elements of its inner class? | 03 Feb 2008 19:16 GMT | 4 |
My experimentation seems to say yes, but I can't seem to find it explicitly stated so anywhere.
|
| console and dojo not defined | 03 Feb 2008 18:27 GMT | 1 |
First- I'm not a programmer so I will do my best to answer any questions you ask me. Using Firefox Error console I've listed the errors when I try to upload an image to a site's application. This sequence works fine in
|
| Linebreak in properties file | 03 Feb 2008 18:25 GMT | 5 |
I have a .properties file with some strings that I need to print in a PDF (I'm using iText). I need to add line breaks to some of the strings so that they appear on the report as a 2 or 3 line string. I tried adding \n and \r to the string at the location I needed the line
|
| Simple Form submission | 03 Feb 2008 15:02 GMT | 1 |
Hello to all Java programmers out there. I am currently trying to create a very simple form which would store the data entered by the user in a database, but I would like to be sure that I make use of the best practices in J2EE and that too
|
| what is the mean of "signature dependencies" | 03 Feb 2008 14:22 GMT | 2 |
I can't understand the mean of "signature dependencies" in java. The whole sentence is as following: "Where a class included in this specification has methods, fields or constructors with signature dependencies on classesnot included in the
|
| calling request.getHEades("user-agent") twice ->NPE?! | 03 Feb 2008 13:52 GMT | 4 |
I got the following line of code: if (request.getHeaders("user-agent") != null && request.getHeaders("user-agent").nextElement() != null) Which throws a NullPointerException at .nextElement().
|
| autoformatted comments after } in netbeans? | 03 Feb 2008 05:34 GMT | 2 |
Netbeans has a nice autoformatting tool. But it in the current version, it seems to want to put comments where I really don't want them. For example, if I have: else{
|
| Local variables in Java | 03 Feb 2008 04:48 GMT | 6 |
So I was wondering how local variables are handled in Java. If the same method is called upon many objects ( of same type) I guess the method calls happen one after the another so that for each method call new local variables get defined , but at any point in time there is
|
| EL expressions error | 03 Feb 2008 03:29 GMT | 6 |
Hi, we just moved over all of our information to a new server. The web app is served by Resin. After, relaunching the application, I noticed we have the following error and have no idea where it's coming from: EL expression '${searchEntry}' is only allowed for attributes with
|
| Create JButtons from array | 03 Feb 2008 01:29 GMT | 4 |
I'm writing a small program with a lot of buttons. To make it a little easier to write the code I've tried to create the JButtons from an array. I don't work.
|