Muntjac Addon BorderLayout

22 views
Skip to first unread message

scog

unread,
Oct 1, 2012, 4:27:13 PM10/1/12
to mun...@googlegroups.com
How would I begin to port this.  It is really looking like I will need this for the project I am working on.
I tried using split panels but they are not really going to allow me to create a single window and put
multiple layouts on it.

Thanks.

http://vaadin.com/directory#addon/borderlayout

Richard Lincoln

unread,
Oct 1, 2012, 7:31:37 PM10/1/12
to mun...@googlegroups.com
I use javapyler to do the initial translation, but it has a few
quirks. I've pushed a branch with a quick draft of the add-on here:

https://github.com/rwl/muntjac/tree/borderlayout/muntjac/addon/borderlayout

I haven't tested it, but it includes an app for you to try. Let us
know how you get on with it.

Regards,
Richard

scog

unread,
Oct 2, 2012, 8:45:23 AM10/2/12
to mun...@googlegroups.com
Ok. when I try to use BorderLayout()  I get this error

BorderLayout object has no attribute _sizePattern

Richard Lincoln

unread,
Oct 2, 2012, 11:30:26 AM10/2/12
to mun...@googlegroups.com
I think that comes from the lack of a super call in the constructor. I
pushed up a fix. Try it now.

On 02/10/12 14:45, scog wrote:
> Ok. when I try to use BorderLayout() I get this error
>
> BorderLayout object has no attribute _sizePattern
>
> On Monday, October 1, 2012 7:31:38 PM UTC-4, Richard Lincoln wrote:
>
> On 1 October 2012 22:27, scog <schapm...@gmail.com <javascript:>>

scog

unread,
Oct 2, 2012, 11:33:17 AM10/2/12
to mun...@googlegroups.com
Yeah it took me a few minutes to realize that too.   It seems to be working well otherwise. 
Reply all
Reply to author
Forward
0 new messages