Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Prathviraj080

@Prathviraj080
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to pass a value from Java Applet code to HTML page
    P Prathviraj080

    I have an application where I need to send the values from java applet code to html page. Please help me to send the values from java code to HTML page(may be using javascript) My java code is,

    public class Calc extends Applet
    {

    public int tot = 0;
    public void paint(Graphics g) 
    {
    int M1 = Integer.parseInt(this.getParameter("m1"));
    int M2 = Integer.parseInt(this.getParameter("m2"));
    int M3 = Integer.parseInt(this.getParameter("m3"));
    int M4 = Integer.parseInt(this.getParameter("m4"));
    int M5 = Integer.parseInt(this.getParameter("m5"));
    int M6 = Integer.parseInt(this.getParameter("m6"));
    tot=M1+M2+M3+M4+M5+M6;
    this.setParameter("tot",Integer.toString(tot));
    g.drawString(Integer.toString(tot), 10, 10);
    }
    

    }

    Java java javascript html graphics help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups