I am waiting for your questions about the problems you are having writing your program.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I am waiting for your questions about the problems you are having writing your program.
I have no problem with the program ... it is not written yet. I need help with how the code should look like.
What specific help do you need? I have no idea what kind of program you want to write and what the program should do. Without details, it is hard to give you help.
No, I just want to take care of ticket sales. Not the transport system. And I wonder, how do you do if you want it to be money in that account if you visit a website? I know that you need an applet to the website, but how do you do next?
Do what? I have no idea what you want your system to do.how do you do next?
Can you explain in a lot more detail?
Oops, noticed that I made lots of errors. Okay this is what I want the program to be able to do: The program should be able to deduct money from a specific bank account, when I visit a specefik website. I understand that you need an applet for the website, but how do you write the code?
So:
* The program must be able to deduct money from a bank account, when I visit a website;
-An applet is needed for the website;
-As a web counter, but instead of showing how many views I have at home, to the benefit of as much money from the bank account which is linked to the homepage of web accounts billing (web page views).
My question is: How should I write the code?
Where is the bank account data being kept? Do you have a data base and a server that will keep track of the bank accounts?
Also you need the server and data base to keep track of the number of web views.
I'd use a keyboard and type the code into an editor or IDE. I don't know what you mean by "how".How should I write the code?
The code should be written after you have a more detailed design of what the code is supposed to do.
I have a database, a website, pang4.ath.cx. With "How should I write the code" I mean: How should the code look like?
I haven't seen you design for the program. You need a design for what you want the program to do BEFORE you try to write any code.
How do you mean by design?
The common definition of design.
Make plans for how the program is to work, what data needs to be kept in each program, what classes are needed and the steps the program should take to do its task.
All right. But I have not received answers to my first question: Is it possible to do that when you visit a particular website, it is deducted from your bank account? If the page has an applet on it.
That's a strange question! If it was not possible, how would Paypal make its money? Or how would e-commerce work? It is clearly possible. If it can be done with a web page, it can almost certainly be done with an applet - but I don't know of any website that uses an applet for this purpose.Is it possible to do that when you visit a particular website, it is deducted from your bank account? If the page has an applet on it.
Perhaps you could ask a more precise question? If you want to know how to make a web page that people can use to pay for a product or service, try Paypal's IPN documentation - it explains the process quite well.
https://cms.paypal.com/us/cgi-bin/?c...admin_IPNIntro
No, I mean not for real! The bank account is only available in Java!