Dusan Zatkovsky skrev: > In c++, I should do it by deleting and re-creating QGridLayout with needed > widgets. But - how I should do it in Java - without "delete" command? >
You can remove widgets from a layout using the removeWidget() method. You can also delete the layout explicitly by calling the dispose() method. But be cautious with the latter method, as that is just as low level and error prone as the delete operator in C++. It gives you more direct control over the memory management of your application, though. -- Eskil _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
