| Thread | Last Post | Replies |
|
| Problem with PropertyResourceBundle and unicode | 14 Mar 2005 10:19 GMT | 2 |
I am trying to read some russian characters from my .properties file (encoded in ISO-8859-1) using a PropertyResourceBundle. The russian characters are entered in the .properties file in unicode. My problem is that the method call PropertyResourceBundle.getString(key) returns
|
| Threads not getting expected speedup | 14 Mar 2005 09:21 GMT | 8 |
I'm trying to write some code which will split up a vector into two halves and run a method on the objects in the vector using two seperate threads. I was hoping to see a near linear speedup on an SMP machine, but I'm finding that the code below takes almost exactly the same
|
| c to java CRC32 code conversion | 14 Mar 2005 09:16 GMT | 1 |
I am attempting to convert the following code written in c to equivalent java code. This is the CRC32 algorithm used by a GPS received I am interfacing with. Unfortunately, the CRC32 class provided in the java API does not suit my needs because it does not
|
| java+postgresql IO Exception | 14 Mar 2005 05:42 GMT | 1 |
I randomly getting this exception with my hdd working ok, and no postgre log saying anything wrong. Do you have any idea what might cause the exception? Cheers.
|
| How to search xml files with Dom or xslt? | 14 Mar 2005 05:32 GMT | 1 |
Is there any generic algorithms for searching xml files out there. Either by searching a dom tree or by using xslt. Something so common should be out there but I can't seem to find it.Basically I just want to search a list of xml elements and get the ones with say first name ...
|
| Eclipse code formater does not work | 14 Mar 2005 04:16 GMT | 1 |
does anyone out there use Eclipse 3.0.1 as their Java Editor?
>From menu "Window->Preferences->Java->Code Style->Code Formatter", i created a new Code Formatter profile and set it up how i want. However, when editing code in eclipse i do not see any of the
|
| Basic I/O Question | 14 Mar 2005 01:59 GMT | 6 |
What happens to a file if a Java application opens it, writes to it, but then ends without closing the file? I've got a file that is having lines appended to it via one of my programs. However, some of the things that I should be seeing in the file aren't
|
| J2ME UI Flikker problem with Double Buffering implemented | 14 Mar 2005 00:20 GMT | 4 |
I am Developing a Menu Based J2me Application using Canvas, where a Menu is displayed on startup and upon selecting the menu relavent detail is displayed. The problem is that when switching between Canvases (Menu -> Details) the
|
| Passing parameters from JSP to Servlets | 14 Mar 2005 00:12 GMT | 1 |
Is there a way to pass parameters (variables?) from a JSP page to a servlet when it is called? This way I can use a generic servlet to do several different tasks. The call to the servlet is made by using the JSP forward tag.
|
| storing and accessing mouse coordintates in an array | 13 Mar 2005 20:09 GMT | 5 |
Hello!! I have a problem, i have wrote a drawing package using java AWT and swing comonents in which i can draw shapes on to a canvas such as lines rectangles ovals, i have wrote each shape on to a BufferedImage
|
| How to delete lines from input file? | 13 Mar 2005 19:13 GMT | 4 |
I'm writing this program to implement a two phase multi-way merge sort. It works by splitting the data to be sorted into temporary sorted lists (output files) equal in size to a memory constraint that is passed in when the program is run. What I've got to do now is actually
|
| Eclipse "Project > Open" Menu Disabled | 13 Mar 2005 19:11 GMT | 2 |
Don't know if this is the right place to ask an Eclipse question or not. I've seen a few of them so I will give it a shot. If anyone knows of a better place to ask Eclipse questions, please let me know. Anyway, a simple but absolutely infuriating problem (i.e. I have spent
|
| read one record from xml | 13 Mar 2005 17:04 GMT | 5 |
I need to parse XML and get the first record only. I am using DOM now, but it reads the complete XML, then I get the first record. I know it probably involves SAX, but can SAX stop parsing to the parse handler at any point? or does it have to parse the complete doc, if so, then how
|
| J2ME and RMI | 13 Mar 2005 13:27 GMT | 1 |
I just started to work with j2me because i want to interact with an RMI service. I found a RMI optional package at the java-webpages but after downloading i do not really know what to do with it. It contains a bunch of java files, but i think what i need is a jar
|
| static implemetation of interface method | 13 Mar 2005 13:10 GMT | 3 |
Why actually can a interface method implementation not be static? public interface IF { public /* static */ void method();
|