Forum: Java May 29th, 2007 |
| Replies: 4 Views: 2,274 Thanks for the help to both of you.
Ezzaral, it was the lack of text that was the problem. Can't believe I made that mistake. Thanks for your help.
Crisko. |
Forum: Java May 29th, 2007 |
| Replies: 4 Views: 2,274 Hello,
I'm trying to add a JMenuBar to a JFrame and having alot of difficulties with it. I've searched the net and gone through a book I have looking for a solution to the problem, but everywhere... |
Forum: Java May 28th, 2007 |
| Replies: 1 Views: 2,378 Isn't it always the way. Just found a solution to it.
Sorry! |
Forum: Java May 28th, 2007 |
| Replies: 1 Views: 2,378 Hi,
I am designing a puzzle game and I am trying to use the data that comes back from "getLocation()". It tells me the x, y co-ordinates of a button on the screen but so far I cannot export the x,... |
Forum: Java May 6th, 2007 |
| Replies: 1 Views: 1,752 Anything from anyone would be great. Here is my code just in the window incase that makes it easier:
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.Vector;
import... |
Forum: Java May 6th, 2007 |
| Replies: 1 Views: 1,752 Hi,
I'm having a small yet annoying problem that I've been trying to get my head around for quite some time. Any help would be greatly appreciated.
I am recalling data off a Vector and... |
Forum: Java Apr 22nd, 2007 |
| Replies: 4 Views: 7,934 Thanks for replying fowler. I didn't realise you could set individual components to visible true/false. I'll give that a shot.
What I'm looking to do it when someone clicks on a button, it... |
Forum: Java Apr 22nd, 2007 |
| Replies: 4 Views: 7,934 Hi,
I'm trying to get Java to remove a JLabel from a JPanel whenever a button is clicked. Unfortunately it won't do this. I've tested my code and the button click is working for sure, so its the... |
Forum: Java Mar 18th, 2007 |
| Replies: 1 Views: 927 Apologies to anyone who took the time to look over my code but I've figured out the problem myself. I know that seems like I didn't spend enough time on it myself before posting but I had spent hours... |
Forum: Java Mar 18th, 2007 |
| Replies: 1 Views: 927 Hi,
I am trying to store details in a Vector and then recall them using different search categories. I'm getting no errors but the details I enter are either not being stored or not being... |
Forum: Java Mar 18th, 2007 |
| Replies: 16 Views: 2,217 Never mind about that problem. Got it solved. |
Forum: Java Mar 18th, 2007 |
| Replies: 16 Views: 2,217 This is fast becoming "spot the useless programmer". Unfortunately I've been stuck on this one all afternoon so I'm back to be saved by DaniWeb.
I'm getting the error message "unreported exception... |
Forum: Java Mar 17th, 2007 |
| Replies: 16 Views: 2,217 |
Forum: Java Mar 17th, 2007 |
| Replies: 16 Views: 2,217 Does this mean I will have to call another method in another class?
Thanks |
Forum: Java Mar 17th, 2007 |
| Replies: 16 Views: 2,217 Yet another problem if anyone could help with this. Sorry for all the bother. Finding Java rather difficult. This time my problem is trying to call the main method from another method in another... |
Forum: Java Mar 16th, 2007 |
| Replies: 16 Views: 2,217 Thanks masijade. I'll try that out when I get home from work.
Very much appreciated. |
Forum: Java Mar 16th, 2007 |
| Replies: 16 Views: 2,217 Sorry, I should have put the code above in. Its converted to an integer from the inputted string. Still a mystery! |
Forum: Java Mar 15th, 2007 |
| Replies: 16 Views: 2,217 Got another problem :sad:
Can anyone tell me why my menu system doesn't work? Whenever I enter a value when its running it exits every time. E.G. It will not run the newcd() method when I enter... |
Forum: Java Mar 15th, 2007 |
| Replies: 16 Views: 2,217 Thanks man, eventually got it solved (see above/below) but I'll bear that in mind in future. |
Forum: Java Mar 15th, 2007 |
| Replies: 16 Views: 2,217 Thanks for replying peter.
Firstly, apologies for not pointing out that those other classes and methods do not exist yet. Work in progress.
Secondly, thanks for the advice. At first it didn't... |
Forum: Java Mar 14th, 2007 |
| Replies: 16 Views: 2,217 Hi, I cannot for the life of me figure out why I keep getting the error message, "cannot find symbol method methodname()" when I try to call methods from another method. I have tried changing the... |