| Thread | Last Post | Replies |
|
| "call to super must be first statement in constructor" | 08 Feb 2005 15:40 GMT | 18 |
Here is an example code fragment: abstract class Outer { protected abstract int getValue();
|
| incompatible types?! | 08 Feb 2005 15:33 GMT | 6 |
I'm getting the error "incompatible types - found void but expected java.sql.Connection" on the line "connection = dbConnection.getConnection();" does anyone have any ideas why? What can I do to fix it?
|
| Jars on Fedora? | 08 Feb 2005 11:14 GMT | 4 |
I'm unable to get Jars to work on linux, i continue to get the error, "Exception in thread "main"" Yet when i run it on windows it works fine. I have installed the latest SDK and the VM is already installed, any remedy to my problem would be great.
|
| Data Structure<E> | 08 Feb 2005 06:40 GMT | 1 |
I was just wondering... I need to implement a queue in some work i'm doing at the moment, and rather than code my own i was considering using the built in objects to do so. I was a little confused by the declaration of "Queue<E>" - do i have to
|
| Float MAX_VALUE question | 08 Feb 2005 00:41 GMT | 5 |
Could someone clarify why the following java code doesn't work? class Example { public static void main(String args[]) { float x = Float.MAX_VALUE;
|
| getContentPane() | 08 Feb 2005 00:34 GMT | 3 |
I'm fairly new to GUI and I'm trying to use Container c = getContentPane(); the compiler says that it can not find the symbol getContentPane() what should I do?
|
| Which Pre-Processor is the best for Java compilation? | 07 Feb 2005 21:29 GMT | 6 |
I want to dynamically insert some information into my java source code each time before I compile my source. This can be e.g. The compilation time, the automatically incremented version number or the compilation computer name.
|
| How to get a static reference to a genericized class? | 07 Feb 2005 20:58 GMT | 1 |
I can explain much more concisely with an example... class Cow<C> { public Cow (Class<C> clazz) {} }
|
| Can't Read Text Displayed | 07 Feb 2005 20:48 GMT | 2 |
It seems that more an more I'm having trouble seeing text that is displayed on what I believe to be JAVA-generated web pages. When I say "seeing", I mean it just isn't visible until I run my cursor over the page. I can see graphics OK, but the printing isn't visible. I also
|
| TipTool | 07 Feb 2005 15:53 GMT | 1 |
I have the follwoing problem. I'm ploting a point into a graphics object using graphics.fillOval function. When the user point the mouse in this point, I'd like to show a box (something like a JTipTool) with a message but I'm not able to do that. I tried to extend JComponet and
|
| Memory Leaks | 07 Feb 2005 15:04 GMT | 5 |
I am fairly new to Java, only been programming in it for about a year or so. One of my colleagues mentioned to me that it is possible to have a memory leak in Java. I have a C/C++ background and I am very familiar with memory leaks there, but in Java? Is this possible? If so, ...
|
| import javax.servlet.*; : Compilation error | 07 Feb 2005 11:03 GMT | 3 |
I am learning Java with a manual. I have managed to install Jakarta Tomcat 4.1.27 on Windows XP Pro SP2 Now I would like to compile a WelcomeServlet.java source. It starts with:
|
| Using generic enum in enhanced for loop | 06 Feb 2005 21:02 GMT | 8 |
Could someone please explain to me why it is not possible to have the following construct? public class MyGenericClass<E extends Enum<E>> {
|
| Collection<E> | 06 Feb 2005 20:24 GMT | 2 |
I am resding the source of jdk1.5.0 and see that kind of sign : <E>. public interface Collection<E> extends Iterable<E> { What is the use of theese?
|
| URL Class Loader & file deletion | 06 Feb 2005 18:06 GMT | 1 |
The following code always displays "File cannot be deleted". Any idea on the way to allow a file to be deleted when it has been used by a URL class loader to load code ? public class ClassLoaderTester {
|