Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

calling external class. . .

 
bothwell muyambo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made codes for to different applets. Now i want to call one of them from the other upon clicking submit button. which code can i use?
 
Tim Moores
Saloon Keeper
Posts: 3266
55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can include jar files containing whatever code you want in your applet; that's what the archive attribute is for: http://download.oracle.com/javase/1.4.2/docs/guide/misc/applet.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!