| Thread | Last Post | Replies |
|
| get the scan code of the key | 10 Aug 2007 17:29 GMT | 4 |
In Java. Whenever I press : <CTRL> + something. I want to resolve the scan code (<CTRL>, <SHIFT>, <ALT> ... etc ...) How ?
|
| simmulate a key pressed. | 10 Aug 2007 17:22 GMT | 2 |
I want to send to the keyboard a keypressed (<Enter> pressed). How can I do that ? Thanks :)
|
| <ENTER> key constant of JAVA. | 10 Aug 2007 16:15 GMT | 4 |
Where can I find all the virtual key (<enter> or <return>) as constant values ? Thanks :)
|
| How to read unbuffered stdout of a new process? | 10 Aug 2007 15:59 GMT | 3 |
is there a way to read directly from stdout of a process? I guess my problem is that I'm using InputStreams, but I haven't found another way. ProcessBuilder builder = new ProcessBuilder("tail", "-f", "foo.log");
|
| managing access to multiply pools | 10 Aug 2007 13:46 GMT | 2 |
Let's say I've got two pools with LEGO blocks. Pool-1 with triangles, Pool-2 with squares, Pool-3 with squars The kid-A (threa-A, if you wish so) need a triangle, a circle and a square, but the second Pool is out of resources. So kid-A waits for available resource. Kid-B need
|
| Regular Expression problem | 10 Aug 2007 12:25 GMT | 5 |
I am trying to parse the string algoParameters to get the strings between the delimiter | using java.util.regex.Pattern class. But I am not able to get the characters after the letter "-". What is the metacharacter to represent any ascii character other than whitespaces.
|
| refactoring | 10 Aug 2007 07:52 GMT | 32 |
I often run into this situation and wonder if there are clever ways of handling it I have not thought of. I have a hunk of messy code I would like to break off from a method and make into its own small method. I use Intellij refactoring
|
| Java crashes - only message is "Aborted"??? | 10 Aug 2007 06:52 GMT | 8 |
We have a strange problem. Our program occationally crashes after running for several hours. Nothing is logged, and the only message written to the console is "Aborted" - no stack trace, no exception, no nothing. We have encapsulated the invocation in try/catch Throwable in
|
| override equals and hashcode | 10 Aug 2007 04:28 GMT | 9 |
I have a class Obj. I created three objects o1,o2,03. Objects are equal if their id is equal. For example, o1 and o3 are equal. I tried adding these three objects to a HashSet, and when I print the size of the hashset I get "3" and not "2". Something is not right with the equals ...
|
| JavaDoc Style Question | 10 Aug 2007 03:37 GMT | 5 |
How do you do the JavaDoc for methods of this form: /** * get bold version of description. *
|
| concurrency concersn in JDBC operations? | 10 Aug 2007 03:06 GMT | 1 |
If the web application only has JDBC insert operation, do u need to worry about the concurrency? Let's assume the web application is just using JDBC for database manipulation. I'm concerned if the transaction management mechanism is necessary.
|
| Self-configuring classes | 10 Aug 2007 02:38 GMT | 103 |
This is a general design question. I'd like a developer to be able to be able to write his own class that implements one of our interfaces. The developer would then register the class with our app which would use it. Our app would discover what
|
| Help with Java Applet please... | 09 Aug 2007 23:50 GMT | 7 |
1st let me say I know very little about java, but I do understand the basics.. Now here's my problem. I was given a website to take over last year that has a applet that connects to an Oracle DB. That site was
|
| More Finally | 09 Aug 2007 23:14 GMT | 5 |
Given this code ... String driver = "jdbc:myDriver:wombat"; String id = "myLogin"; String pw = "myPassword";
|
| Is there something equivalent to C function pointers? | 09 Aug 2007 22:37 GMT | 4 |
Is there a way to pass a reference of a method (method object?) to a second method analagous to the way one could pass function pointers in C? I would like to be able to not have to define a new abstract class
|