Add support for preferred BorderLayout constants [message #1690571] |
Sun, 29 March 2015 05:18 |
Christopher Chavez Messages: 1 Registered: March 2015 |
Junior Member |
|
|
In the WindowBuilder property pane, the supported constraints for a component inside a panel managed by BorderLayout only include NORTH, SOUTH, EAST, WEST, and CENTER. According to "The Java Tutorials: How to Use BorderLayout," the preferred constants (over NSEW) are now PAGE_START, PAGE_END, LINE_START, and LINE_END, so using any of these results in the Constraints property being blank but set (i.e. "Constraints" is bold), although the design view shows the correct result.
This is probably a rather trivial issue. Reading over the API specification for java.awt.BorderLayout, there might be a difference between the two sets rather than just the names.
|
|
|
Powered by
FUDForum. Page generated in 0.03467 seconds