|
From: Francois B. <fb...@us...> - 2003-10-23 19:28:12
|
On Thu, 23 Oct 2003 11:42:06 +0300, "Stelar" <ste...@in...> said:
> Quoting Francois Beausoleil <fb...@us...>:
>=20
[snip]
>=20
> But now, I still have a problem. Using the java code in the simple
> window
> tutorial in the website, I got the following error:
>=20
> simplewin.java:6: jgb.builder.Builder is abstract; cannot be instantiated
> private jgb.builder.Builder simplewin_gui =3D new
> jgb.builder.Builder();
>=20
[snip]
Ooops ! I need to update the examples quickly ! The Builder class is
now an interface. So, you need to instantiate a DefaultBuilder... Sorry
for the confusion...
So, your lines should be updated like this:
import jgb.builder.Builder;
import jgb.builder.DefaultBuilder;
class C {
private Builder simplewin_gui =3D new DefaultBuilder();
}
Bye !
Fran=E7ois
Developer of Java Gui Builder
http://jgb.sourceforge.net/
|