Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4091795

JDK1.1.5'G': 'Warning:Applet Window' banner breaks layout of component

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.1.5
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.1.5
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Not verified

      Backports

        Description

        masaki.katakai@Japan 1997-11-11

        On JDK1.1.5G, 'Warning:Applet Window' banner breaks layout of component.
         
        Please try the following on appletviewer.
         
                import java.awt.*;
                import java.applet.*;
         
                public class frametest extends Applet {
                        public void init(){
                                Frame f=new Frame();
                                f.add("East", new TextField("test", 20));
                                f.add("North", new Button("Close"));
                                f.pack();
                                f.show();
                        }
                }
         
        The text field under 'Close' button shrinks and no one can use
        the text field. I put the snapshot into attachment.
         
        Without warning banner, the layout seems to be correct.
         
                // without warning banner
                public class frametest2 extends Frame {
                        public frametest2(){
                                add("East", new TextField("test", 20));
                                add("North", new Button("Close"));
                                pack();
                        }
                        public static void main(String args[]){
                                frametest2 f=new frametest2();
                                f.show();
                        }
                }
         
         
        This problem is a regression because I could not reproduce the
        problem with JDK1.1.4.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pyoung Paul Young
                Reporter:
                katakai Masaki Katakai
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: