| Thread | Last Post | Replies |
|
| final | 02 Jul 2005 23:30 GMT | 7 |
What is the important of this code: .... fianl JButton .... Why final ?
|
| Generic methods and inheritance | 02 Jul 2005 23:17 GMT | 4 |
I've been having some trouble with generic methods and inheritance. Suppose I have an interface that looks like: interface A { public <T extends MyClass> void foo(T input);
|
| Defining a constructor in an Interface | 02 Jul 2005 23:00 GMT | 15 |
An interface forces the implementor to write the code for all the (abstract) methods. Fine. But can I also enforce a specific constructor footprint? Maybe it sounds silly, but it isn't: I am constructing objects using
|
| Jar executable and arguments | 02 Jul 2005 20:43 GMT | 3 |
Can you pass arguments to Jar executables files like you can with with Java class files at the command line? Cheers Sharp tool
|
| Aplication Server, To have or not | 02 Jul 2005 16:19 GMT | 6 |
I am in a discussion at work wether to implement an application server or not when using java in a GNU/Linux environment. The apps that are supposed to be written in java will reveice transactions from a socket and depending on the transaction it will do some logic ...
|
| Scanner class and regex problem | 02 Jul 2005 15:46 GMT | 2 |
I teach Java, and we're switching to 1.5.0 next semester. I was thinking about using the Scanner class to read data from text files, but I'm having a problem specifying a delimiter string. The file I'm using for the following example contains two records:
|
| Is there problem with Java and transparent images? | 02 Jul 2005 12:03 GMT | 6 |
My Java application has a splash screen which was inspired on the ones that are displayed when the Adobe programs (Photoshop, Illustrator, InDesign) start up. There is an outside invisible rectangle and some features that pretent
|
| SocketChannel flush before close | 02 Jul 2005 08:58 GMT | 1 |
I wrote a simple http server using java.nio. I've run into a problem where occasionally, calling close() on the SocketChannel closes the socket prematurely, before all the response bytes have been sent to the client. Is there a way to ensure that the SocketChannel flushes before
|
| "No enclosing instance of type ... is available due to some intermediate constructor invocation." | 02 Jul 2005 06:39 GMT | 1 |
I have this error "No enclosing instance of type ... is available due to some intermediate constructor invocation." for a class with this structure: public abstract class A1 extends A { public A1(Object o) {
|
| PageFormat | 02 Jul 2005 06:08 GMT | 1 |
I am trying to print something but i need to ask something really so bare with me a little while You know that for printing something using the java printable interface you would have to overide this method
|
| How can I program a "Time Listener"? | 02 Jul 2005 03:25 GMT | 3 |
I have an interest in creating some Java object which will "listen for a certain time" and then trigger. For example, I'd like the object to wake up 6:00AM and do something. I'd like the object to react to the arrival of a certian time_of_day on certain days. Does anyone know how
|
| Default timezone changes out of nowhere? | 02 Jul 2005 01:28 GMT | 6 |
we have a very serious problem with timezones. Basically the default timezone is changing for no apparent reason back to UTC, but only after some time has lapsed since application start. This totally messes up any date/time output and calculations.
|
| JSP Backup Server | 01 Jul 2005 23:14 GMT | 1 |
Help... I have just been presented with the responsibility of supporting a JSP application. The person who was handling EVERYTHING has left us (Rest his soul) and did not leave any documentation. The first thing I need to do is create a backup server and copy the
|
| Understanding Enum | 01 Jul 2005 21:50 GMT | 4 |
I have been experimenting rewriting code using enums to see how they differ from the old int style and class style kludged enums. Enums have a number of rough edges. 1. they are not inner classes, at least I have not yet figured out how
|
| Crash while calling ReleaseStringUTFChars for NewStringUTF string | 01 Jul 2005 20:55 GMT | 3 |
I am writing a JNI application to call a C++ code from Java. In JNI code, I'm creating a Java String from char* using NewStringUTF and then calling ReleaseStringUTFChars on this string. However, my program crashes on ReleaseStringUTFChars.
|