| Thread | Last Post | Replies |
|
| Output Stream Help | 10 Aug 2006 05:16 GMT | 2 |
I have this line of code: out.write(s+n); which writes to a file the variables of whatever is in s and n. For example
|
| type Map does not take parameters ? | 10 Aug 2006 01:57 GMT | 2 |
I got a strange error message from the java 1.5.0 compiler: "type Map does not take parameters" which Map certainly does. The complete code was this mini class: import java.util.*;
|
| DatagramSocket! I am getting IllegalArgumentException but can't figure out why. | 09 Aug 2006 23:53 GMT | 2 |
I am new to Socket Programming. I am trying to send data using UDP but I get the IllegalArgument Exception but I can't find why I am getting this exception. The program below is implemented on server.Which recieves the packet
|
| Swing, JTabbedPane/Panel/Panel | 09 Aug 2006 22:44 GMT | 1 |
I'm very confused why this code works with one version of Java and not the other (I inherited it, so I may not fully understand it, but it seems straightforward). Basically, I have a JTabbedPane. I add three panels to the JTabbedPane
|
| Sending XML files through HTTP Request/Response. | 09 Aug 2006 22:32 GMT | 1 |
Hey all! I am not sure if this is the right forum for this question, please redirect me if this is not. With that, here is a question ... from a novice really.
|
| Trying to get attention to a component | 09 Aug 2006 21:28 GMT | 5 |
I have an image in my java application that I would like to bring the users attention to... dropping this - What I was thinking was to put a JPanel behind the image, just extending beyond the borders, and change the color of it
|
| Performance and Exceptions | 09 Aug 2006 20:46 GMT | 4 |
Do methods that can potentially throw an Exception (but don't) execute any slower than methods that don't throw Exceptions? Do code blocks enclosed in try/catch execute slower that those that aren't? For example, does this execute slower:
|
| Maven using ANT plugin for SCP task : Embedded error: Could not create task or type of type: scp. | 09 Aug 2006 17:19 GMT | 1 |
My requirement is automating the build process which contains execution of some shell scripts and file copy btw remote servers. And this is my first encounter with Maven and ANT. I am getting pear help in ANT, minimal in Maven 1.0.2 and NONE in MAVEN 2.0.4.
|
| JEditorPane memory consumption | 09 Aug 2006 14:38 GMT | 1 |
I am using JEditorPane to display html files in my java application. It seems that after a while, the memory goes up to 90K making it impossible to browse all the pages. This is dramatic !!! I searched the internet and found out that this swing component has
|
| Algorithm for growing arrays | 09 Aug 2006 14:02 GMT | 11 |
This is an ill-defined question, but here goes: My app uses lots of int arrays. We usually don't know how large the array will ultimately be when we first start populating it. So we grow the array as necessary, which involves creating a new, larger array and
|
| Force the use of super. | 09 Aug 2006 13:28 GMT | 5 |
I'd like to force the use of the super keyword when accessing a field in a parent class. For example, if Parent contains int foo; and Child extends Parent, then any reference to foo in Child should be
|
| how to connect to a new database | 09 Aug 2006 12:56 GMT | 2 |
i am connecting to an instance of oracle database from my UNIX tomcat server.Now i want to connect to another instance of the database server from the same UNIX server. so i modified the server.xml file of the tomcat server accordingly. but still i am not able to connect to the
|
| How to get the status of the runtime process in java..? | 09 Aug 2006 12:29 GMT | 1 |
I am trying to execute a System command located at remote machine.So i use Rmi concept for this purpose. The model source code is try
|
| understanding: synchronized reference | 09 Aug 2006 12:23 GMT | 1 |
I want some classification on understanding the context of synchronized reference: say LinkedList queue = new LinkedList();
|
| Access do database from applet | 09 Aug 2006 10:53 GMT | 9 |
In my applet I have a method responsible for accessing the MS Access database which is on my hdd. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String filename = "C:\\Documents and
|