Forum: Java May 5th, 2008 |
| Replies: 5 Views: 1,066 You'll still have to make it yourself, but since this threads 'solution' is quite the same in my eyes, I'll just repeat the answer I gave there.
For your architecture, check on your design... |
Forum: Java May 5th, 2008 |
| Replies: 2 Views: 1,149 Try the book 'head first design patterns'. It has a clear layout of the model view controller pattern (which is fairly hard to really grasp in the start, in my opinion).
The book should tell you a... |
Forum: Java Apr 25th, 2008 |
| Replies: 10 Views: 2,016 The button to reset your text field is just an actionlistener that sets the value of your textfield.text property to "" (or null).
For the generation of numbers, I suggest a class where you... |
Forum: Java Apr 24th, 2008 |
| Replies: 5 Views: 1,487 Try to cut up your structure of your program in several little pieces and start with those one by one.
For example: You'll first need to make a connection to a database itself.
If your... |
Forum: Java Apr 24th, 2008 |
| Replies: 2 Views: 418 Yes...and the question is... :p
I do recommend to wrap your code around tags with CODE=JAVA and /CODE . Makes the whole program a bit easier to read.
Also, specify your problem please :p |
Forum: Java Apr 24th, 2008 |
| Replies: 4 Views: 2,073 I can be wrong here, but I think that rollback only works for a current transaction. If you use commit, you close that transaction.
So you should catch your error before the commit, and roll back... |
Forum: Java Apr 22nd, 2008 |
| Replies: 2 Views: 1,062 Eclipse or IntelliJ might also help, if you are programming this in java.
Aside of development tools, try to study some design patterns. I feel that these kind of applications can be enhanced by... |
Forum: Java Apr 21st, 2008 |
| Replies: 8 Views: 862 After a while I found some links that might aid you in your quest.
First link: How to ask for help (http://en.wikipedia.org/wiki/Politeness)
Second link: Major resource for finding java (or... |
Forum: Java Apr 12th, 2008 |
| Replies: 4 Views: 5,763 mV.createMainView();
mV has not been declared in this class.
dV.createDetailView();
dV has not been declared in this class.
etc etc.
You should make a new instance for the variables you... |
Forum: Java Apr 12th, 2008 |
| Replies: 2 Views: 403 Go to the site of sun and download the JDK.
The installation gave you a warning probably, so that might explain why you were able to run it. You can't compile though, since there is no link to your... |
Forum: Java Apr 3rd, 2008 |
| Replies: 19 Views: 1,248 It's as Ezzarel says. You can't magically use the deposit function.
First things first. You probably don't need the constructor overloader public bankofmark(double).
You can keep deposit(double)... |
Forum: Java Apr 2nd, 2008 |
| Replies: 19 Views: 1,248 Hmm, I don't know for sure. It would be easier to be able to test this.
I'm quickly gonna try something though, but I'm not certain if it will help you...
public double getnewBalance(double... |
Forum: Java Apr 2nd, 2008 |
| Replies: 19 Views: 1,248 Not a problem and glad I could help. We are here to learn ;).
Good luck coding |
Forum: Java Apr 2nd, 2008 |
| Replies: 19 Views: 1,248 I think that your object gets instantiated since you use the format bankofmark name = new bankofmark(constructor items);
But the problem lies in your constructor. You should add this. before each... |
Forum: Java Apr 2nd, 2008 |
| Replies: 12 Views: 1,603 That's true though. Can't argue with that. The person should have enough time to think of a valid topic. |
Forum: Java Apr 2nd, 2008 |
| Replies: 12 Views: 1,603 The person just seems to have to decide on a TOPIC, not yet a project. |
Forum: Java Apr 2nd, 2008 |
| Replies: 5 Views: 1,201 Wait? What is your actual question, if I may ask.
This looks like an assignment I had one day :p |
Forum: Java Apr 2nd, 2008 |
| Replies: 19 Views: 1,248 First things first, it would be helpfull to set small chunks of code between the [ code ] [ /code] tags. Without the spaces that is.
Second: Could you please put your project up for download,... |