X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=README.md;h=dc976599bf6cffeb4d37a2d48a3d0bc0932d5d77;hb=7d922e0dfd9a6da42b84e01d52adeec6fff10025;hp=1e2b7e9d4f2f1e7abbbf7efe4c9f64a5ceb6dd90;hpb=1d99a38f2b0f1f6674a21ba8b17be28bc7a34035;p=fanfix.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) {