pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: BXML Rendering
Date Wed, 01 Jun 2011 16:26:28 GMT
> So I used Edvins advice, although I assumes he meant StringBufferInputStream
> because it didnt seem to recognize StringInputStream(); 
> My code is: 
> ...
> which gives the error:
> java.lang.IllegalArgumentException: Window parent must be null or display,
> cannot be org.apache.pivot.wtk.SplitPane

You need to make sure that the root element of your BXML is not a Window.

> on a side note. when I import java.io.StringBufferInputStream; the
> StringBufferInputStream has a line right through the middle of it like its
> crossing it off a list. and anytime I use it in the rest of the file it
> strikes it out as well. Why is this? 

That's because StringBufferInputStream is deprecated (meaning its use is not recommended).

View raw message