Skip to content

Instantly share code, notes, and snippets.

@rahuldahal-zz
Last active June 30, 2021 08:53
Show Gist options
  • Save rahuldahal-zz/df67a854912c1f2539c24c169d3aa093 to your computer and use it in GitHub Desktop.
Save rahuldahal-zz/df67a854912c1f2539c24c169d3aa093 to your computer and use it in GitHub Desktop.

Applet

  • way to use Java to power up a web page

Types

  • local
  • remote

Skeleton

image

AWT

  • Abstract Window Toolkit is an API for creating GUI with Java.
  • Platform dependent, generated by the OS

Swing

  • Platform independent
  • contains packages to create desktop apps
  • part of the core java language

applet

Parameters

  • way to pass data from HTML to java
<applet code="someApplet.class">
    <param name="someName" value="someValue" />
</applet>
class SomeClass{
    function someFunc(){
        String str=getParameter("someName");  // use the 'str' as required
    }
}
@uday-majhi
Copy link

great.

@SaloniAgrahari24
Copy link

Thanks rahul

@uday-majhi
Copy link

uday-majhi commented Jun 30, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment