You were right, I'd just made a silly error on that line. I needed to uppercase a few letters and I was sorted. Many thanks! :-)
Type: Posts; User: RedCloudTsunami
You were right, I'd just made a silly error on that line. I needed to uppercase a few letters and I was sorted. Many thanks! :-)
Hey everyone,
I'm trying to deploy my program and I'm receiving this message:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init><Unknown Source>
...
Ahh I see, I understand now. However, that means all three windows will be identical as they'll all be instances of the same constructor method, so I assume that new classes will need to be...
Would it be a good idea to have the other classes in different .java files that all extend JFrame? I'm still learning so it confuses me a lot. So far I have:
public static void main( String[] args...
Many thanks!
Hello,
Is it possible to have multiple windows when extending JFrame? If so, could you give a quick example?
Many thanks,
Alex.
Many thanks! :-)
Please could you give a quick example? That website isn't very clear.
Could you possibly explain this Container you mentioned. Sorry about this.
Hello there,
I'm still a newbie when it comes to Java, and I've just been learning about Swing. I was wondering how you could do this:
Show a Start button and a picture, then, when the button...
Hey everyone,
What is Math.E and how can it be used? I've heard it has something to do with "logarithms" but I'm not quite sure what that is either.
Many thanks,
Alex.
Hello everybody,
I've been reading a book that teaches Java for a while now and I've hit a page that I just don't understand: the reason being that the book doesn't explain what is going on well...
Hello there,
I wrote this simple code as I'm learning to program in Java, and I don't understand what the problem is with the code. Sometimes it will compile and sometime it shows the error in the...