You don’t use jWindow.add( child ); you use jWindow.getContentPane().add( child ). This is especially infuriating since the compiler cannot catch the error. Similarly instead of jWindow.setLayout( layoutManager ) you use jWindow.getContentPane().setLayout( layoutManager ).
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | ![]() | ||
| You are visitor number 11,843. | |||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/jwindow.html | J:\mindprod\jgloss\jwindow.html | ||