/    Sign up×
Community /Pin to ProfileBookmark

java code into HTML

Ok heres the situation,
I wrote an ATM program from Java and it works when I run it from the dos prompt. I was wondering if there was any way to plug the java code into HTML so I can make it seem like a website. I have Frontpage 2000 and Homesite 4.5 and of course the atm javacode.

for example the homepage can be where you login in with your account # and pin # and the rest of the website can be linked together by way of the javacode

Please help, any info you can spare would be much appreciated
thanx

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@Zach_ElfersNov 21.2002 — Actually, I am learning Java myself. I am LEARNING, lol. What you need is an applet. You will also need a Java compiler to make the changes to your code. To make your script an applet, you will need to make many changes. Applets are much more complicated than regular Java applications. I would HIGHLY suggest you get someone who knows Java to change it for you. If your script is simple, you might be able to change it to an applet by putting:

import java.awt.*;

import java.applet.*
;

import java.Graphics.*;

To write the text you would need to use the g.drawString functions and paint(), etc. I am no expert, and what I told you might not work, so before changing it, copy it incase something bad happens to it when you make the changes. I wouldn't try it if I didn't no the basics of Java.?
Copy linkTweet thisAlerts:
@StefanNov 21.2002 — [i]Originally posted by Dave Clark [/i]

the HTML APPLET tag is used to serve up the program in a web browser.[/QUOTE]


Actually it's highly recomended that you DON'T use <applet> but instead use <object>.

You can read about Objects here

http://www.w3.org/TR/html4/struct/objects.html#h-13.3
×

Success!

Help @eloquent33 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...