Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem with Layout and Applet

    Hi all,

    I have problem with my Layout which contains Applets. So I created small example with applet in Layout. This example works fine in IE6,7,8, FF3.6, Chrome, but in firefox 3.5 or less it doesn't work. You can see how it looks on pictures in attachments.

    Thanks
    Attached Files

    #2
    Dear jiri.ov,

    there are issues in using applet related to the fact that browsers does not handle directly this kind of objects.

    Quoting SmartGWT Applet class documentation:
    Code:
    Known issues
    
        Resizing Applets can cause Firefox to lock up and require the user to terminate the process manually. The cause is currently unknown, but likely causes include applets attempting to control their own size, or to attempt to re-render on resize. More recent JVMs (1.6+) appear to make this problem less frequent. This may also simply be caused by applet code being unable to deal with certain combination sizes and crashing.
        In Firefox, when using a JVM older than 1.6, Applets cannot be resized smaller than their originally drawn size. Doing so causes them to stick at the originally drawn size, and to overflow the boundary of any Smart GWT component they are embedded in.
        In Firefox, Applets do not handle the z-index ordering correctly with respect to IFRAMEs or other Applets. Therefore, in Firefox you cannot layer Applets on top of each other or on top of Smart GWT components containing IFRAMEs and have them render in the correct order.
    The problem is handling the Z index, which causes those superimpositions you noticed. Note that in IE and other browsers you might be seeing working there are other problems.

    The workaround is to handle everything related to graphics (in your case the overflow) in the applet and make sure no SmartGWT object (children of IFrame, which are, for example, Window instances) ever cover part of the applet area.

    Yary

    Comment

    Working...
    X