Solved

Internet Java Applet; Text Box

Posted on 2003-12-05
7
253 Views
Last Modified: 2006-11-17
Hi everybody!!!  I have this Java program I have been working on my own outside of my class and I want to put it on the internet so that my friends can use it, like a www.geocities.com site, nothing mega-fancy.  The program has three different classes, if that matters.  What do I do?  I've tried nothing and I'm all out of ideas.  My friend and I figured it had something to do with the View-Source on any site on the toolbar and having like <HTML><APPLET>.....but we are not sure.  What should I type where so that it will work on any computer as long as they are at the site, like different games on the interenet?

On a different note, how do I make textboxes?  And on a furthur different note, I use TextPad to program Java, and when I hit CTRL-2 it runs a Java Application not Applet, I was wondering if it was possible to put one of those on the internet, one of the things that when you run it on TextPad it brings up a black screen?

Thanks guys from a fellow programmer-

Mark

P.S.  Sorry this question is only worth 75 points, that is all I have to give away, I will make a new question later, with "Point for _______" as the Question Title for whomever answers this question.  Thanks again!
0
Comment
Question by:simpsons17371
  • 3
  • 2
7 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 38 total points
ID: 9886413
If you mean you want to put the source so they can use it, simply upload it as its source .java files
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9886430
       Not sure what you mean about text boxes. There is an online compiler at http://www.innovation.ch/java/java_compile.html   Not sure what you mean about text boxes. There is an online compiler at http://www.innovation.ch/java/java_compile.html 
0
 
LVL 92

Assisted Solution

by:objects
objects earned 37 total points
ID: 9886449
you need to upload your class files to the server and (probably) put them in the same directory as your html file. In yopur html use the applet tag to include your applet.

0
 
LVL 92

Expert Comment

by:objects
ID: 9886452
> I was wondering if it was possible to put one of those on the internet

not really. You'll need to convert your application into an applet.
0
 
LVL 92

Expert Comment

by:objects
ID: 9886453
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question