| Thread | Last Post | Replies |
|
| Java source code that parses Java code | 18 Nov 2003 16:09 GMT | 1 |
Hi all, I've written a Java program that does some VERY simple Java code parsing. I'm interested in looking at some other Java parsers also written in Java. Can anyone direct me to any freely available source code that can do this?
|
| strange null pointer error | 18 Nov 2003 13:55 GMT | 6 |
I have a strange and intermittent error that I can't figure out! In the static void main() of a Java program, I have the following: System.out.println("got here"); System.out.print ("\nFinal state sigma = ");
|
| Roedy 's convertor, Where is Short ? Where is Byte? | 18 Nov 2003 08:13 GMT | 1 |
Hi Roedy, This is what you advertise for in http://www.mindprod.com/zips/java/converter.txt: signed byte Byte
|
| Buttons? | 17 Nov 2003 23:58 GMT | 2 |
Here is the Code I hav sofar. any Ideas JD import java.awt.*;
|
| Easy prog but I'm confused | 17 Nov 2003 21:49 GMT | 3 |
Hey all-- I'm just learing Java, and I was wondering if someone could help me out here. This program is supposed to take the purchase price of an item, determine the tax and then give the total. It mostly works, but I don't
|
| setSoTimeout in nonblocking mode? | 17 Nov 2003 16:36 GMT | 1 |
I want to be throw exception when one thread wait to read no data from a remote source for long time. This can be done in pre-1.4 enviroment like the following. ---------------------------------------------------------------------------
|
| LONG: Java student getting String Exception/String Index errors | 17 Nov 2003 13:39 GMT | 1 |
Hello, all, I'm back with more questions from my Java I class. I'm writing a simple text editor. According to the specs set out by my professor, we're to use the built-in methods 'substring(), indexOf(), and length()' to edit a single long string of text.
|
| Exception in thread "main" | 17 Nov 2003 11:52 GMT | 1 |
When I run "java HelloWorld", it show this message: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld How to solve this problem?
|
| DateField | 16 Nov 2003 22:46 GMT | 1 |
Im having problems with the DatField in J2ME. I can get DATE_TIME and DATE to display the current date and time. I use the following code to display the time but when i run it i get a field with <time> in it and not the current time.
|
| Static object array initialization | 16 Nov 2003 17:31 GMT | 1 |
I need to be able to initialize a static array of objects from a static method and I havent been able to figure out the syntax for that. Because of that, I've been forced to resort to a singleton object solution : public class Test
|
| How do I preserve carriage returns in drawString() ? | 16 Nov 2003 02:27 GMT | 1 |
I have an applet. In that applet is a g.drawString(textVar,x,y) line to display a block of text. In that text are some carriage-return/line-feeds. But drawString apparently filters them out, lumping the lines together.
|
| Mobile Phone to Mobile Phone Data Transfer | 15 Nov 2003 14:35 GMT | 1 |
I need to know whethere it is possible to transfer data from one mobile phone to other mobile phone in such that scenario that one mobile phone call the other mobile phone , assume that data line are supported on the line and then
|
| Printing '?' to the console | 15 Nov 2003 11:05 GMT | 8 |
It's probably very simple, but I can't get a java program to print the ? character to the console. I can type it in to the console using "Shift + 3" on my UK keyboard so I know the console knows about such a character.
|
| newbie synchronized querie | 14 Nov 2003 20:24 GMT | 3 |
My thinking has gone a little bit fuzzy when it comes to synchronizing objects in java. Please could somebody confirm (or not) that my thinking is ok here. In the following example (this isn't a real world example, just something that demonstrates my question) I have set this.o = ...
|
| JScript pass value | 14 Nov 2003 18:28 GMT | 1 |
Any ideas why this doesn't work? <SCRIPT LANGUAGE="JavaScript"> <!-- f = document.forms[1];
|