iiley March 12th, 2008
Finally, today i found some time to implement the mouse drag scale/move/select functionity of GuiBuilder, the idea has been in my brain for monthes. Fianlly, it’s almost done now. And with some property editor and list sorting improved by Oliver Salzburg, this version is more better now.
See screenshot below:
You can see there’s a edit rectange cover the selected button.
If a component’s container layout is EmptyLayout(It’s not the default for JPanel, so you have to set it manually by click the “Layout” button in the right properties panel), then you can use mouse to drag the blue rect to move/scale it.
If it’s not EmptyLayout, you can also select componets by mouse click(It’s more convenient than click the item in the left tree), if you try to scale or move it, no effect will occur because it’s LayoutManager controlled the location and size of them.
There’s new check box named “Preview” on toolbar now, it means:
If it is selected, it means in preview, the components builded are interactable, for example a button is clickable, a scrollbar is scrollable.
If it is not selected, it means in edit, the click action on component will cause selection change.
The scale/move effect are both valid in this too situation(Of course if the use EmptyLayout).
All source code are on svn now, and there’s a online version check http://www.aswing.org/guibuilder
AIR version will coming soon when it is stable.
It’s new, so maybe there’s bugs, although i fixed some i found, but if you got one, or any feedback, please post to our forum : http://bbs.aswing.org