[5051] in java-interest

home help back first fref pref prev next nref lref last post

selection list questions

daemon@ATHENA.MIT.EDU (Paul.Bohnenkamp@corp.sun.com)
Fri Jan 26 23:43:27 1996

From: Paul.Bohnenkamp@corp.sun.com
Date: Fri, 26 Jan 1996 19:14:11 -0800
To: java-interest-digest@java.Eng.Sun.COM

Two questions about the selection list:

o I'm filling it dynamically and the last list item only shows half the list item.
How do I fix this?

o Below is how I realize the browser.  Is there a way to make it wider, but keep in the "East" quadrant?

TIA,
Paul

/**
   * Initialize applet.  Need to make browser wider.
   */
  public void init() {
    setLayout(new BorderLayout());
  }

/**
   * Start applet.
   */
public void start() {
     
      // Setup other quads...

    /**
     * Add selection list to right panel.
     */
    rp = new Panel();
    l  = new List(30,false);
    rp.add(l);
    add("East", rp);    
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post