| Thread | Last Post | Replies |
|
| Question about synchronized | 14 Nov 2005 14:21 GMT | 27 |
say I have two different methods M1 and M2 which work on the same object O, whereas M1 is declared 'synchronized' while M2 is not. Now imagine I start two threads A and B, which keep calling M1 and M2 respectively in an endless loop.
|
| wanted to sell/trade java books | 14 Nov 2005 14:20 GMT | 5 |
Hi all, i have read through these and looking to trade or sell Struts Kick Start XML and Java from Scratch Graphic Java 2 (Mastering the JFC)
|
| Accessing an invoking class's getters? | 14 Nov 2005 14:07 GMT | 19 |
Can someone remind me of the idiom for accessing the getters for a class that invoked another class? For example, let's say I have instantiated an instance of class Alpha and it is called alpha. My alpha instance sets some class variables, say foo and
|
| How to make the program delay the execution? | 14 Nov 2005 13:07 GMT | 3 |
I want to insert a delay of execution into the program code, such as ...... command1 delay 5 seconds
|
| Eclipse help | 14 Nov 2005 12:42 GMT | 3 |
I need some directions on how to compile java sources checked out of CVS using eclipse 3.1. I've set up a directory structure under /user/workspace for the files and given all the jars in the BuildPath. The IDE is unable to discover the classes in the jars and so highlites
|
| Is there a goto statement (or something similar)? | 14 Nov 2005 12:22 GMT | 21 |
Is there a goto statement or something similar in java? If so, how do I use it?
|
| Image content compression | 14 Nov 2005 11:07 GMT | 1 |
Does someone know of any java api's libraries for image compression. I am not looking for compression into zip. For example a gif file is much smaller than a jpg file (this is because some information about editing the page is lost in gif file).
|
| Bizarre network application problem | 14 Nov 2005 10:44 GMT | 7 |
I have a small PC running Fedora Core 3 with kernel 2.6.12-1.1380_FC3. On it is a Java application that collects data from a serial port and sends it to a server application. It can do this over a LAN (possible a broadband internet connection) or a dialup internet connection. In ...
|
| jni.h problem | 14 Nov 2005 10:37 GMT | 9 |
My g++ compiler doesn't know where my jni.h file is. I don't know how to explicit tell to g++ that jni.h is in the include folder of java. I get the error
|
| please help in basics of servlets | 14 Nov 2005 10:31 GMT | 1 |
Hi All.. I just started working on basics of servlets.I wrote a simple program which is pasted below. <import>
|
| URL connection problem | 14 Nov 2005 09:57 GMT | 6 |
Dear Programmers, I have a terrible headache because of this part of my code. I don't have a clue how to disconnect from a given URL. I would like to make a download of some images, but the problem is that the connection
|
| Observable/Observer | 14 Nov 2005 09:30 GMT | 2 |
Is there any difference in performance if we use ordinary call back methods on indivisual objects separately instead of Observable/Observer api. I have an Observable class which has a single Observer, when there is
|
| RMI: LocateRegistry.getRegistry(int port) | 14 Nov 2005 08:19 GMT | 1 |
I wonder why the method "LocateRegistry.getRegistry(int port)" doesn't throw an exception if no registry is available? This seems a really bad design to me. I allways get a registry with this method (even if no registry has been created) but when I try to bind some
|
| 2 question poll: large and long http response (stream like) | 14 Nov 2005 07:14 GMT | 11 |
We are arguing about the elegance/irregularity of the possibility to send *gigs and gigs of data *during many days *over a single https response.
|
| Efficient String Manipulation ? | 14 Nov 2005 02:56 GMT | 13 |
Guys I have been thinking on this problem Say I have a String input ="DSDFSDFSFSFDAAAAABBBBBBBBRRRRRRRR" and i have a character array of the characters to be removed say {A,C}
|