Frames - Defining a frame with small width

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.4
    • Component/s: client-libs
    • x86
    • windows_95



      Name: rm29839 Date: 11/12/97


      We are using something like this:

      import java.awt.Frame;
      import java.awt.event.WindowEvent;
      import java.awt.event.WindowAdapter;

      public class BugTest extends Frame
      {
          public BugTest()
          {
              super();
              this.setSize(30,400);
              this.setVisible(true);
              this.addWindowListener(new CloseWindow());
          }

          public static void main(String args[])
          {
              new BugTest();
          }

          public class CloseWindow extends WindowAdapter
          {
              public void windowClosing(WindowEvent e)
              {
                  ((Frame) e.getSource()).dispose();
                  System.exit(0);
              }
          }
      }

      We want to make something like a Toolbar. This Toolbar will be the "Main menu" of our aplication.
      But, we want to put small buttons inside it.
      It is impossible. We can't make a Frame with a small width. There is a minimum size of Frame ?
      (Review ID: 19618)
      ======================================================================

            Assignee:
            Richard Ray (Inactive)
            Reporter:
            Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: