DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24825>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24825

MenuBar not shown in JellySWT

           Summary: MenuBar not shown in JellySWT
           Product: Commons
           Version: 1.0 Alpha
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jelly
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Menubar is not attached to parent shell an thus not shown.

Reason:
Wrong signature of method attachWidgets() in class 
org.apache.commons.jelly.tags.swt.MenuTag:

What happens:
Instead of the method in the derived class MenuTag, the default method in the 
super class WidgetTag is called.

The enclosed patch fixes this problem.

Plattform: Win2000
Java: JDK 1.4.2



Index: MenuTag.java
===================================================================
RCS file: /home/cvspublic/jakarta-commons/jelly/jelly-
tags/swt/src/java/org/apache/commons/jelly/tags/swt/MenuTag.java,v
retrieving revision 1.5
diff -r1.5 MenuTag.java
103c103
<     protected void attachWidgets(Widget parent, Widget widget) {
---
>     protected void attachWidgets(Object parent, Widget widget) {

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to