This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||Renaming of non-standard names|
|Product:||platform||Reporter:||David Kaspar <dkaspar>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
Description David Kaspar 2007-03-09 13:02:00 UTC
Some names of methods/classes are non-standard e.g. FillLayout. They should be changed to standard ones e.g. OverlayLayout.
Comment 1 David Kaspar 2007-03-09 16:53:44 UTC
FillLayout class has been renamed to OverlayLayout. SerialLayout class has been renamed to FlowLayout. At the same time their factory methods has bee renamed too. LayoutFactory.createFillLayout method renamed to LayoutFactory.createOverlayLayout. LayoutFactory.createHorizontalLayout method renamed to LayoutFactory.createHorizontalFlowLayout. LayoutFactory.createVerticalLayout method renamed to LayoutFactory.createVerticalFlowLayout. The original methods are deprecated now and are going to be removed for 6.0 Milestone 9. The new methods has been added. Also BorderLayout.createFancyDashedBorder method is going to be removed for 6.0 Milestone 9. Use BorderLayout.createDashedBorder(...,true) method instead. Note that the LayouFactory.SerialAlignment enum name is not changed.