Wednesday, April 27, 2011

Work Progress Apr 27 - May 3

Demo: See "SB in beta" link above

* Icons for RUN/STOP, CLEAR DRAWING, etc.

* Vertical stitching of statement codelets

Wednesday, April 20, 2011

Work Progress - Apr 20 - Apr 26

Demo: "SB in beta" link above

* Set proper size of the codelet elements. See the screenshot below - nested if statements are now sized properly. The text in the codelets are also properly center-aligned.


* Over-sensitiveness problem to be solved by disabling drag of textfield element.
* Enable tiptooltext for method argment.
* Set the display of Variable-Assign codelet and Property-Assign codelet to the same shape as other statements (like the method codelets and the control codelets)

Thursday, April 14, 2011

Work Progress - Apr 13 - Apr 19

Demo: "SB in beta" link above

* HTML editor can now use applet parameters "MainSplitLoc", "LeftSplitLoc" and "RightSplitLoc" to tell the default locations of the divider in the three split pane. Check the demo here (the JNLP file that introduces the parameter values are here) for an illustration.
* Update and package the non-programmable version of the break dancer application per request of a student in FAMU (launch site, source code)
* Clean the highlight in method codelet properly, so at one time only one insertion position is highlighted. (Previously the placeholder of inside binary statement can be highlighted when the outer placeholder belonging to the method codelet is highlighted.)
* We avoid a codelet from disappearing when we click and immediately release the mouse.

* Redo the codelet drag-and-drop mechanism, basically by introducing MouseListener and MouseMotionListener to all the draggable JPnlLines, i.e. JPnlLine except JPnlLineList and JPnlLineNull, with empty implementation, so they won't let MouseEvent to pass through it to underneath textfield).
* We allow scriptlet at the front to receive a new codelet.
* Dragging an event codelet and dropping it anywhere except the scriptlet panel will properly move it back to the eventMgr in the left window.
* [For my reference only] Add back 3D rendering capability to the display engine (reference)

Sunday, April 10, 2011

Work Progress - Apr 6 - Apr 12

Demo: "SB in beta" link above

Work done:
* Fix "otherwise" of if...then...else...
* Reduce codelet size
* Better coloring scheme - property codelets now show as light purple block with black text
* Smoothing the lines and images of the graphics windows.
Before
After
* Enable speedup without sacrificing simulation accuracy - the trick is to increase the speedup factor in the advanced property tab of BoarderEngine and the steps parameter in the same tab in tandem, say changing them from (0.8, 1) to (1.6, 2). This will double the number of internal simulations done per frame.

TODO: Smoothing polygon (See here and here)