• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simple: Turning A Program Into An Applet

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is my first attempt to turn some of my programs into applets for my class portfolio project for WebDesign. I'm going to take some programs and turn them into applets to be used and what not. I've never done this before, and all help will be greatly appreciated. Also here is the code and exejars for my programs.

Addition: http://www.mediafire.com/file/s2yv22754u5240k/Addition.jar



Tic-Tac-Toe with AI(Code only, I couldn't get this into a jar)



Color Chooser http://www.mediafire.com/file/447zy7c9tqrwd1p/Color%20Slider.jar


Thank you!
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This may help: http://www.acme.com/resources/classes/Acme/ApplicationApplet.java
 
Jason Newman
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lester Burnham wrote:This may help: http://www.acme.com/resources/classes/Acme/ApplicationApplet.java



How do I 'use' it?
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd start by reading the comments at the top of the class. It gives an example of how to use it.
Other than that, it's an applet - are you familiar with how to deploy applets in general?
 
Jason Newman
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I feel stupid, but no I don't. Not at all. Not even a little.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case, check out http://download.oracle.com/javase/tutorial/uiswing/components/applet.html. You need a Java class that extends javax.swing.JApplet, and an HTML file that contains an APPLET tag that points to this class. That page has an example of both; start by getting that up and running.
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic