Certain multimedia technologies, such as Flash movies or Java applets can be embedded in browsers. However, it can sometimes be a bit complex to set up. BTL aims to make it easier to use those technologies and offers one interface for all browsers.
An applet
widget allows you to insert a Java applet in your application. Behind the scenes, we translate the applet
widget into either an object
for Microsoft Internet Explorer or an embed
for the Firefox browser. The appletParam
widget allows you to set parameters for your applet
.
In the example below, a Java applet is loaded and given some parameters to show a bar chart. The align="right"
attribute will cause the applet to be displayed at the right within its container. The BTL widgets allow you to use styling attributes like width, height
, and align
to make styling of specific elements easier.
<b:applet width="250px" height="100px" align="right"> <b:appletParam name="code" value="BarChart.class" /> <b...