Component Orientation Bug [message #1783967] |
Tue, 20 March 2018 15:14  |
Eclipse User |
|
|
|
Eclipse Oxygen 2 (4.7.2) and WindowBuilder 1.9.1 on Windows operating system with Java 1.8.0_161. If the JPanel has RIGHT-TO-LEFT orientation, then in design mode, when I drag a component, for example a JTextField, onto the JPanel, the mouse pointer moves to the right but the outline of the JTextField moves to the left. And when I stop the drag, the JTextField jumps to a completely different position on the JPanel. This only occurs for RIGHT-TO-LEFT orientation when using any one of the following layout managers: absolute layout, group layout, spring layout. Is this a bug? Or am I missing something?
|
|
|
Re: Component Orientation Bug [message #1784405 is a reply to message #1783967] |
Tue, 27 March 2018 13:08  |
Eclipse User |
|
|
|
An update: We changed the code of our custom panel class that extends . In the overridden method, we call method java.beans.Beans#isDesignTime . If we are in design time, then we set the component orientation of the panel to LEFT-TO-RIGHT.
|
|
|
Powered by
FUDForum. Page generated in 0.04972 seconds