Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » How to prevent negative values in width, height portions of bounds (minimumSize is not guaranteed)
How to prevent negative values in width, height portions of bounds [message #900274] Mon, 06 August 2012 05:55 Go to previous message
Ben Wilson is currently offline Ben Wilson
Messages: 15
Registered: July 2012
Junior Member
Hi, I have a bean that inherits from JTextField and I need to prevent the WindowBuilder visual editor from allowing the developer to accidentally switch left and right sides thereby creating a component with a negative width. Is this something I can code in my component or an option I can configure in Eclipse?

I tried even by hard-coding a set of minimumSize in the constructor of my component to positive values, but to no avail.

Thanks,



Ben
 
Read Message
Read Message
Previous Topic:Custom editor dialogs do not respond to enter and escape keys for OK and Cancel
Next Topic:WindowBuilder and EMF databinding Tutorial
Goto Forum:
  


Current Time: Wed May 22 15:33:38 EDT 2013

Powered by FUDForum. Page generated in 0.02106 seconds