commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Michael Reilly <...@pajato.com>
Subject [Jelly] Bug?
Date Tue, 05 Nov 2002 20:27:27 GMT
Script:

  <?xml version="1.0"?>
  <j:jelly xmlns:j="jelly:core" 
           xmlns="jelly:swing" 
           xmlns:log="jelly:log"
           xmlns:define="jelly:define"
           xmlns:dcc="psg.dcc.jelly.TagLibrary">

      <menuBar var="dccMenuBar">
        <menu text="File">
          <menu text="New">
  ...
          </menuItem>
        </menu>
      </menuBar>

  ...

    <frame title="DCC" var="dccFrame"
           location="${preferredXOrigin}, ${preferredYOrigin}"
           size="${preferredWidth}, ${preferredHeight}"
           jMenuBar="${dccMenuBar}">
      <font family="helvetica" size="14"/>

      <windowListener var="event" closing="${onClosing}"/>

    </frame>

    ${dccFrame.show()}

  </j:jelly>


Is it a bug that the generated frame does not contain the menubar,
dccMenuBar?  I think it is.

When 

    ${dccFrame.setJMenuBar(dccMenuBar)}

is added, the menubar is attached correctly.

-pmr


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message