• 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

Inherting from JApplet

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What difference it will make if inherited from JApplet Class instead of Applet Class?
 
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JApplet is a subclass of Applet. It allows you to use Swing components and has all of the components available to it as the Applet (see the hierarchy below).
java.lang.Object
|
>>+--java.awt.Component
|
>>>>>>>>+--java.awt.Container
|
>>>>>>>>>>>>>>+--java.awt.Panel
|
>>>>>>>>>>>>>>>>>>>>+--java.applet.Applet
|
>>>>>>>>>>>>>>>>>>>>>>>>>>+--javax.swing.JApplet
Best Regards,
Matt
[This message has been edited by Matt Midcap (edited June 30, 2000).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic