| Thread | Last Post | Replies |
|
| Reading a textfile into a single String? | 23 Feb 2006 00:02 GMT | 5 |
Hi, I'm trying to read multiple text lines from a file into a single String. The approach I am using is to read each line of the file with BufferedReader.readLine() and appending it to a String, but this is really slow:
|
| Serializing PriorityQueue<type> not working? | 22 Feb 2006 22:44 GMT | 2 |
I have a spot where a PriorityQueue<foo> is serialized to a file. A FileOutputStream is opened successfully, an ObjectOutputStream created on it, and the queue is fed to writeObject(). The stream is closed. No exceptions occur but the 1.3KB file generated is nowhere near big
|
| Where should I place resource-files like images ? | 22 Feb 2006 22:29 GMT | 22 |
I'm building an application where I want to use buttons (JButton) with images loaded from files (.GIF-files). At the moment, I create the ImageIcon's to use like this: disconIcon = new ImageIcon("resources/images/discon.gif");
|
| Java DataType for XML for webservice | 22 Feb 2006 22:15 GMT | 3 |
I need to a create a java webservice which should take XML as input. This XML is the output of another webservice service (output type in the wsdl is base64Binary). What should be input parameter type to take a XML into the Java web service.
|
| On the lighter side | 22 Feb 2006 21:16 GMT | 3 |
Did you know that URL was also a verb? check it out see http://mindprod.com/jgloss/url.html in there is not that hidden joke.
|
| Can you get any more performance out of this? | 22 Feb 2006 21:02 GMT | 4 |
This demo app loads a bunch of URLs into JEditorPanes in a JTabbedPane. I don't think HTML engine in the JRE is much cop, so this is probably a non-starter. But I'd at least expect my interface to remain responsive. Is my code broken
|
| Interoperatability with Java in a scripting language | 22 Feb 2006 20:46 GMT | 2 |
I am building my own scripting language(or dynamic language, whatever) in Java. I wish can user other Java library inside the language, calling methods of Java objects. In this language, only three types of primitive data types, which are
|
| Java Questions | 22 Feb 2006 20:27 GMT | 2 |
Hey all, I am wondering if anyone of you can explain me following questions in detail : what is runtime polymorphism? I know method overidding is its first
|
| postion of menuitem in menubar | 22 Feb 2006 19:30 GMT | 2 |
I created a menubar in applet.And i want the menu item in the right position of the menu bar...can u help me.....
|
| Asking for references and suggestions(Help!) | 22 Feb 2006 18:35 GMT | 2 |
I am starting to program in C. However, I have some graphs(trees, directed graphs) I want to display. I heard it would be ralatively easy in JAVA(Is this true?), so I want to learn JAVA. What is a good starting book for JAVA programming? What's the next book
|
| java.lang.NullPointerException | 22 Feb 2006 17:53 GMT | 6 |
I would like to point our that the following code produces a NullPointerException at runtime: byte[] ba = null; String s = new String(ba);
|
| Monochrome PCX image encoding | 22 Feb 2006 17:17 GMT | 2 |
Problem description: I have to convert a BufferedImage into a monochrome PCX image file. So far I've tried using JIMI, until I realize it didn't handle monochrome PCX. Since I couldn't find any Java library supporting this format, I figured out I had to write an image
|
| resource bundles... | 22 Feb 2006 16:14 GMT | 1 |
I want to improve my code using resource bundles. I have fields like no: of companies no: of places..etc., I want to use resource bundles and put the key value pair like
|
| J2ME: BlackBerry: ControlledAccessException | 22 Feb 2006 16:09 GMT | 4 |
I would like to know what could be causing a ControlledAccessException on the BlackBerry device simulator. This exception is being thrown only the first time I load the application onto the device simulator and try to run it. Thereafter I no longer see this exception even
|
| JNI:"undefined symbol" in "shared-library" | 22 Feb 2006 15:52 GMT | 2 |
I would like to call a C++ programm out of Java with help of JNI. By the followed command I created a "shared library": g++ -shared -o libcalculate.so rechner.cpp When I create an object from the existing program inside a method of my
|