Solved

Internet Java Applet; Text Box

Posted on 2003-12-05
7
244 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

929 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now