Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Component Orientation Bug
Component Orientation Bug [message #1783967] Tue, 20 March 2018 19:14 Go to next message
Avi Abrami is currently offline Avi AbramiFriend
Messages: 31
Registered: December 2017
Member
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 17:08 Go to previous message
Avi Abrami is currently offline Avi AbramiFriend
Messages: 31
Registered: December 2017
Member
An update: We changed the code of our custom panel class that extends
JPanel
. In the overridden
addNotify
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.
Previous Topic:Offline installer Neon or Oxygen
Next Topic:BugReport
Goto Forum:
  


Current Time: Thu Apr 25 16:52:30 GMT 2024

Powered by FUDForum. Page generated in 0.02731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top