jdk/src/share/demo/applets/BarChart/example2.html
author jgish
Thu, 18 Apr 2013 16:33:11 -0400
changeset 17159 bb566a21b661
parent 2 90ce3da70b43
permissions -rw-r--r--
8012005: LogManager needs test to ensure stack trace is not being done to find bundle Reviewed-by: mchung

<html>
  <head>
    <title>Bar Chart (1.1)</title>
  </head>
  <body>
    <h1>Bar Chart (1.1)</h1>
    <hr>
    <applet code="BarChart.class" width=400 height=300>

      <param name=title value="Fruits">
      <param name=columns value="6">
      <param name=orientation value="vertical">
      <param name=scale value="6">

      <param name=c1_label value="Apple">
      <param name=c1 value="10">
      <param name=c1_color value="red">
      <param name=c1_style value="solid">

      <param name=c2_label value="Orange">
      <param name=c2 value="20">
      <param name=c2_color value="orange">
      <param name=c2_style value="striped">
        
      <param name=c3_label value="Lemon">
      <param name=c3 value="5">
      <param name=c3_color value="yellow">
      <param name=c3_style value="solid">
        
      <param name=c4_label value="Peach">
      <param name=c4 value="30">
      <param name=c4_color value="pink">
      <param name=c4_style value="striped">

      <param name=c5_label value="Pear">
      <param name=c5 value="40">
      <param name=c5_color value="green">
      <param name=c5_style value="solid">

      <param name=c6_label value="Plum"> 
      <param name=c6 value="17">
      <param name=c6_color value="magenta">
      <param name=c6_style value="striped">

      alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason."
        Your browser is completely ignoring the &lt;APPLET&gt; tag!      
      </applet>
      <hr>
      <a href="BarChart.java">The source</a>.
  </body>
</html>