| Thread | Last Post | Replies |
|
| Stack and Thread Safety | 01 Jul 2004 00:33 GMT | 3 |
May I assume that a stack is thread safe since it extends the synchronized vector class? Thanks.
|
| Getting env. variables? | 30 Jun 2004 21:40 GMT | 4 |
I have a question regarding System.getProperty(). Is there a possible way to obtain environment variables such as PATH or CATALINA_HOME using getProperty? If not, is there any possible way of doing this? Any help would be greatly appreciated.
|
| Noob question : KeyListner in Core java ? | 30 Jun 2004 13:54 GMT | 5 |
Is there some way to implement KeyListner and override its methods in core java without using AWT/Swing components ? If yes, how ? Thanks in advance.
|
| help with switch statements | 30 Jun 2004 12:52 GMT | 11 |
I am new to java programming and also to this newsgroup ,. I am actually following Java courses now, I had a few homeworks which Im unable to do , hoping to get some help from you ,
|
| list of files or direcotries | 30 Jun 2004 11:41 GMT | 3 |
Can anybody tell me how i can get a list of existing files in a directory and a list of directories in a specific directory? --- Outgoing mail is certified Virus Free.
|
| Profiling that takes into account time spent in other processes. | 30 Jun 2004 06:16 GMT | 1 |
I'm now getting to the point where I need to figure out how to do profiling in Java. One thing that bugged me about the standard profiler in python was that it had no way of accounting for time spent in other processes,
|
| Difference between equals and == for Object | 30 Jun 2004 02:08 GMT | 3 |
I am wondering when to use objA.equals(null) and objA == null. What is the difference? BR //Mikael
|
| Problems with BufferedImage and ColorModel | 29 Jun 2004 23:38 GMT | 9 |
I've been experimenting with BufferedImage and am attempting to extract the individual R, G, B, and Alpha values from the color of each pixel in an image. This seems simple and straight-forward, but somehow I got slightly confused. I managed to figure out how to extract some large ...
|
| Runtime.getRuntime().exec ??? | 29 Jun 2004 16:57 GMT | 2 |
I'm using Process runner = Runtime.getRuntime().exec( cmdArgs ); where cmdArgs {"/bin/sh", "-c", <perl program>}. If <perl program> is "/opt/vr/bin/show_active_servers" I can get the input stream and read what the perl program outputs as follows. In fact it works
|
| Need help on math computation with java | 29 Jun 2004 15:24 GMT | 14 |
Hello java group, I need to use Java to compute the following forumla: p = c / (1 + y) + c / ((1 + y)^2) + c / ((1 + y)^3) + ... c / ((1 + y)^n) p,c,n are known and we need to calculate y.
|
| int to char question | 29 Jun 2004 14:32 GMT | 3 |
The current matter is quite simple: I got a "int z" variable, which represents the ascii code of the char I need. How do I transform it into a char? The goal should be queuing the wanted letter to a string, a nice funtion
|
| Advice for refactoring | 29 Jun 2004 14:28 GMT | 3 |
I have two classes CardA and CardB that have a lot in common but with some differences. Since a lot of code is duplicated my task is to remove and find a solution to handle this. CardA has implements two interfaces that CardB does not have. CardB
|
| Java Applet Error | 29 Jun 2004 09:19 GMT | 2 |
I don't know much about Java, but we are having a problem on our website. I don't currently have the actual error message, but I'm just wondering if anyone can possibly point to where the problem might lie just from this information.
|
| Weird problem using Threads | 28 Jun 2004 15:40 GMT | 2 |
It's a bit hard to try to explain what appens with my program, but I'll try: We have a checkers game, and the problem is when I have the CPU playing against itself
|
| Why Java DataOuputStream is slow? | 28 Jun 2004 13:15 GMT | 6 |
I am using Java DataInputStram and DataOutputStream to send a large file thorugh Internet. When I test it with local LAN, the speed is fairly fast and acceptable. With the same testing PCs and programs, I send the file through Intenet, using ADSL boardband modem. I found that the ...
|