| Thread | Last Post | Replies |
|
| Implementing DocumentListener with 2 JTextAreas | 21 May 2006 21:42 GMT | 3 |
I'm writing a program with 2 JTextAreas. When the text in 1 area changes the text in the other needs to be updated as well. I'm using DocumentListener to handle this. However when the text is updated the DocumentEvent is fired as well. The only solution I can think of is
|
| speed of reading the real time clock? | 21 May 2006 20:53 GMT | 7 |
Does anyone know (off hand) how long new java.util.Date() takes? I'd like to time (i.e. take start time from end time) a method
|
| from a java application | 21 May 2006 20:52 GMT | 8 |
from a java application, how can I open (or redirect) a web browser to a specific URL? I want to direct my user from a menu item in the application to a help file on the net...
|
| Running Special Programs through Runtime exec() | 21 May 2006 20:37 GMT | 4 |
I'm using the snippet of code below to run a number of different programs to check their output. I've had no trouble at all until, under Linux, as root, it read through /etc/alternatives on a Debian system, where there are many links to executables. The first time it runs one of ...
|
| BigDecimal nextProbablePrime() method performance (to set initial capacity of HashMap to a prime number) | 21 May 2006 19:20 GMT | 3 |
Where can I find information about the performance of the nextProbablePrime() method in the java.math.BigInteger class? The relates to the initial capacity of a HashMap. The HashMap that can hold data of at least size X and at most Y,
|
| "rename/redefine" int, double, etc in java? | 21 May 2006 19:18 GMT | 16 |
How can we define a "alias" for a basic java data type, such as int, double? Suppose we have the function of: public my_type do_some_math(my_type varA, my_type varB, my_type varC)
|
| java compiler and string literals | 21 May 2006 11:53 GMT | 5 |
Hi, All: Just verifying Java Compiler optimization and string literals. If I have the following method, how many String objects are created in the for loop: public void method() {
|
| Event in a class | 21 May 2006 08:12 GMT | 8 |
I would like to create a Java class (named for example fileInp) where it's possible from a program that use it to activate during processing of a method of fileIn an execution of a method of the program that have create a fileIn object.
|
| help regarding google web service | 21 May 2006 01:03 GMT | 2 |
hai i want to know how to call and use google web service(for searching) from a java programme.i want help and respective api for that ..please help me
|
| just a try simplified File access | 21 May 2006 00:28 GMT | 2 |
I'm tring to make some simplified file access i.e. instead of making different type of objects for reading, writing and appending to file. To have just one type of object that will deal with the details... something like file access in scripting lang like Perl.
|
| jdbc ClassNotFoundException | 20 May 2006 19:33 GMT | 3 |
I get the following stace trace when I try to run my servlet java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
|
| difference b/w java and javax package | 20 May 2006 19:27 GMT | 2 |
can you tell me the difference between java and javax package
|
| Does the first enumerator have default value of 0 like in C++? | 20 May 2006 19:26 GMT | 7 |
In C++, by default, the first enumerator has a value of 0, and each successive enumerator is one larger than the value of the previous one, unless you explicitly specify a value for a particular enumerator. What about in Java ( JDK 5.0)? Can I assign a value to the particular
|
| Statuc methods and static members ...? | 20 May 2006 19:24 GMT | 3 |
I am facing memory problem in my project . i am usin Static variables. i want to know till when they remain in memory ?
|
| Where is JDK 1.5 ? | 20 May 2006 19:23 GMT | 3 |
I guess I'm just incredibly dense - but when I went to sun's website, all I could find were 1.4.X versions and 1.6 Beta for JDK. I installed the 1.6 Beta, but it seems like I have trouble finding the SDK every time I reinstall it - not sure why.
|