X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=README.md;h=dc976599bf6cffeb4d37a2d48a3d0bc0932d5d77;hb=3f499f9f180683b0ecf098684412d99662a523c7;hp=1e2b7e9d4f2f1e7abbbf7efe4c9f64a5ceb6dd90;hpb=1d99a38f2b0f1f6674a21ba8b17be28bc7a34035;p=nikiroo-utils.git diff --git a/README.md b/README.md index 1e2b7e9..dc97659 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,9 @@ class MyApplication extends TApplication { addFileMenu(); addWindowMenu(); - // Add a custom window, see below for its code. - addWindow(new MyWindow(this)); + // Add a custom window, see below for its code. The TWindow + // constructor will add it to this application. + new MyWindow(this); } public static void main(String [] args) {