ForeUI is an easy-to-use UI prototyping tool, designed to create mockup / wireframe / prototypes for any application or website you have in mind.

All posts in Update

ForeUI V2.55: Search for Elements

Hello folks,  ForeUI V2.55 is released today.  This version includes a very useful “element searching” feature; some enhancements and bug fixings are included as well.

Search for Elements

Element searching feature is very useful when you are working on complex prototypes.  In this new version, you can find a new button titled “Find Element…” above the plot editing area.  You can press this button or press Ctrl+F (CMD+F in Mac OS) to bring out the element search dialog.

The element search dialog would look like this:

You can input keywords and press the “Search” button (or press ENTER on keyboard) to start the searching.  If you have multiple keywords, you can separate them with spaces or commas.  Please notice that if you input several keywords, they are actually combined with AND operator, which means the element will not be listed until it contains all keywords.  For example, you use two keywords: “Text” and “Edit”, then search in element Id, the search results will contain all TextEditBox elements, but no TextBox element will be listed.

You can also make the searching case sensitive or limit the searching within the current page by checking the corresponding option.

There are many options in the “Search in” area.  By turning on/off the options you can specify the fields to be searched.  It is not just a text searching, it can also find out the elements in certain area or with specific Z value etc.  The animation below shows the use cases of this search dialog:

When the element is listed, you can click it in the result table and ForeUI will select it automatically.  If the element does not belongs to the current page, ForeUI will switch page beforehand.

Other Enhancements:

  • Updater supports proxy now.
    This is requested by Kfir Dadosh.  Now the updater will use the proxy settings in ForeUI (under the “Misc” tab in settings window).
    Remarks: you will need to download the file from our website and install again, since the updater can not update itself.
  • Use toggle button to show/hide the tool window.
    Now ForeUI uses toggle buttons to show/hide the global properties window, element selector, element search dialog and display control window.
  • Auto insert the current file name (if exist) in the “Save As” dialog.
    Requested by Ulrich, very simple but handy enhancement.

Fixed Bug:

  • Bug_0250: Image box with small size (e.g.15×15) may be distorted when running simulation in IE. (Thank Mike H for reporting)

ForeUI V2.52: Rectangle Borders, Memory Monitor, Auto-Save etc.

2

Hello folks, ForeUI V2.52 is out today.  If you have installed V2.50, you can update to V2.52 directly via the updater.

Rectangle Borders

Now we have more control of the borders of Rectangle element: every border of the rectangle can be shown or hidden.  This feature is suggested by Mark D, and we appreciate his good idea 😀

With this new feature, the Rectangle element can be used to represent more complex shapes.  I found it is very suitable for custom tab creation.

Memory Usage Configure & Monitor

During our daily custom service, we realize some problems are caused by the insufficient memory.  Like other Java applications, ForeUI has to specify the maximum memory usage at the launching time.  The default maximum memory usage is set to 300 MB and it is enough for normal cases.  However if your plot is big and complex, and you have done many operations, the increasing Redo/Undo records may challenge the 300 MB limitation.  Once that happen, ForeUI may behave sluggish and sometimes can not execute your command.  Now the new version allows you to monitor the actual memory usage and configure the maximum memory usage.

The memory usage information will be shown on the top-left corner of the editing area:

The rightmost “300 MB” is actually a link and you can click it to bring out the configuration (which can also be found in the “Misc” tab in settings window):

You will need to restart ForeUI to take effect the maximum memory usage setting.

Auto Saving

To avoid losing your work, we implemented the auto saving feature, and it is now turned on by default.  It will try to backup your current editing plot (say Test.4ui) to “Test_autosaved.4ui” in the same directory for every 3 minutes.  When auto saving is performed, a message will be displayed for a few seconds on the top-left corner of the editing area.

You can change the auto saving interval in the “Misc” tab of the settings window, or even turn it off if you don’t want it.

New Element Property: visible

This is requested by Ed.  Now you can insert this element property into expression to check whether the element is visible during the simulation.

Improvements for Mac OS X:

From this version, ForeUI will use system look and feel by default in Mac OS X.

In Windows the Ok button is usually on left and Cancel button is usually on right; In Mac OS the order is reversed.  So we adjust the position of “Ok” and “Cancel” buttons for Mac OS X in this version.

Other Enhancements:

  • Do not show action indicator (small red flag) on embedded element that is hidden by container.
  • Remember the file chooser view type.

Fixed Bug:

  • Bug_0249: Tabs element has incorrect hotspots in “Mac OS X” theme (under editing mode).

ForeUI V2.50: Auto Updater and Extended Free Upgrade Period

Hello everybody, we are pleased to release ForeUI V2.50 today.  From this version a brand new auto updater of ForeUI will be available.

Auto Updater

Since we update ForeUI frequently, an updater that can download and install updates automatically is really useful.  From V2.50, the updater will be shipped with every downloadable package.  When you launch ForeUI, it will detect the new version from Internet.   If new version exist, ForeUI will ask whether to update, if you choose “Yes, Sure”, ForeUI will quit and the updater will be launched.  The updater can work under Windows, Mac OS X and Linux systems.

The updater will download and verify the update package, then install it automatically.  It will definitely save your time 🙂

With this updater, releasing minor version for bug fixings become much easier.  If we confirm a serious bug, we can fix it immediately and push the update package to all users.

Fixed Bugs:

This version include three bug fixings, they are:

  • Bug_0246: The exported DHTML does not respect the ImageBox’s background color and opacity. (Thank John Giddings for reporting)
  • Bug_0247: If an ImageBox is embedded into Tabs, it can not be displayed in the exported DHTML. (Thank Boris for reporting)
  • Bug_0248: Copy selected element(s) into clipboard and paste into Microsoft Word, the transparent background is black. (Thank Tim for reporting)
    The figure below shows the effect of the fixing:

Extended Free Upgrade Period

The End User License Agreement (EULA) has been updated today.  Customers who purchase ForeUI license can update to new versions for FREE if any of the conditions below is satisfied:

  1. The new version has the same major version number with the old version.
  2. The license is purchased within one year.

The first condition exists at the very beginning, and the second condition is added in this update.

For existing ForeUI users, this change may bring you several months’ free upgrade period, without any additional payment.

For coming ForeUI users, this change is also a good news, since you will have free upgrade for at least one year, even another major version will be released soon.

The chart below shows the difference between previous and new license agreement:

The chart is created with ForeUI, and you can run its interactive simulation here.

ForeUI V2.47: Many New Features and Enhancements

Hello everyone, ForeUI V2.47 is out today and you can download now.  There are many new features and enhancements included in this version.  Please read on.

Exchange Data with Outside World

Now ForeUI can exchange data with external applications via clipboard.  You can copy image from any application and paste it into ForeUI as an ImageBox element; you can also copy the selected elements in ForeUI and paste them as an image into other drawing applications.

What’s more, you can directly drag image or plot file into ForeUI now.  The image file will be converted to an ImageBox element if you drag it to the editing area.  If you drag an image file into the image dock, it will be stored there.  Dragging a plot file to editing area or the tabs for plot will load the plot in ForeUI immediately.

More Powerful Actions

Now you can use properties in the “Pause a While” action, that means the delay time can be changed during the simulation.

What’s more, you can use properties in the loop:

Another enhancement is that you can change the size of ImageBox during the simulation:

And you can specify the target window for “Visit URL” action now:

Specify the Plot’s Default Font

From now on, you can specify the default font for every plot in the plot configure window:

The actual font for element rendering will be determined by the process below:

Reduce Redundant Files in DHTML

In previous versions, all ImageBox elements will be exported as a PNG files, even if they all link to the same image in image dock.  Now we reduce the redundant files, if multiple ImageBox elements link to the same image, only one PNG file will be exported for their references.

This enhancement will gain a very good result if many ImageBox elements are used in the plot.  Below is a comparison between the DHTML for “Fwitter.4ui” by V2.45 and V2.47:

Move Element Out of Bounds

From this version, you can move element out of the plot’s bounds.  You can turn on / off this in the settings window (default is on)

Other Enhancements:

  • Improve image dock rendering performance.
  • Auto add backslash before ” or ‘ when editing message of User Decision branching and Show Message action.
  • Generate log files to user’s directory.

Fixed Bugs:

  • Bug_0240: Line and Arrow Line elements can not be displayed in V2.45.
  • Bug_0241: Right-clicking element which is placed over a container (to bring out context menu), the element should not be embedded.
  • Bug_0242: Text element editor does not select all editable content when show up in V2.45.
  • Bug_0243: Move embeded element to upper/lower layer, may duplicate the element.
  • Bug_0244: If custom element contains embedded element, creating multiple instances of the custom element may cause duplicated ids.
  • Bug_0245: Sometimes the element id in action expression is not replaced correctly when doing copy/paste or creating custom element instance.

ForeUI V2.45: Optimize DHTML Generating and More

2

Hello everyone, ForeUI V2.45 is out today as scheduled.  This version is focusing quality and performance.  Enhancements cover DHTML generating optimization, new id allocate algorithm, popup tool windows management and much more.

DHTML Generating Optimization

This is an exciting enhancement as it decrease the file number and total file size, thus reduce the time for simulation loading.  How did we do achieve this?  It’s simple and straightforward: we merged the script files and images files for each elements, thus the file number can be decreased and the space for image file headers can be saved.  The effect of this kind of optimization will be quite significant when plot become big and complex.

Here are some testing results against V2.45 and V2.42, which use the “Fwitter.4ui” plot as testing sample.  We exported the plot to DHTML simulation using V2.42 and V2.45 respectively.  The file number and total file size are measured.  We open the native simulation in different web browsers to measure the local loading time, and then upload the DHTML simulations to web server and open the remote simulation in different web browsers to measure the remote loading time.

V2.42 V2.45
Number of DHTML files
676
308
Total size of DHTML files (bytes)
1293111
1095213
V2.42 V2.45
Time to load simulation locally (seconds)
IE 6.0
16
3
Firefox 3.6
~2
<1
Chrome 6.0
~2
<1
Safari 5.0
~2
<1
Opera 6.2
~2
<1
V2.42 V2.45
Time to load simulation from web server (seconds)
IE 6.0
252
43
Firefox 3.6
61
33
Chrome 6.0
59
30
Safari 5.0
60
32
Opera 6.2
180
31

It is not a strict testing, however the result can still give us a rough idea of the effect.  The good news is that the effect will be enlarged as the plot become bigger and more complex.  You may notice that the loading time on IE (and Opera for remote loading) is much longer than that on other browsers.  After optimize the loading performance on IE is improved a lot and the difference is much smaller now.

New Algorithm for Id Allocation

In this version we introduce a new new algorithm for id allocation, I bet you will like it 🙂

Before V2.45, if you copy an element with id “Button_1”, and paste into the same plot, the newly pasted element will have an id like “Button_1_1”.  If you repeat the steps several times, you may get an element with a very long id like “Button_1_1_1_1_1_1_1_1_1_1”.  That’s very bad thing as you can not count out how many “1” in the id by first glance, the ids are long and not readable.

Now in V2.45, if you copy and paste an element with id “Button_1”, the newly pasted element will have an id like “Button_2”.  After several repeats, you will get an element with id like “Button_18”, this is much better, isn’t it?

What’s more, the new algorithm will try to keep the additional info in ids.  e.g. if you copy and paste an element with id “CheckBox_Option_1”, you can get the new element with id “CheckBox_Option_2”.  That can help you to understand the new element is similar with the source element.

We are quite excited about the new algorithm as it can significantly reduce the average length of element ids, and make ids more readable.  We should really make it earlier 😛

Tool Windows Management

There are some tool windows in ForeUI, such as element selector, page manage window, category manage window etc.  Usually these window will be closed when focus is lost, however you can pin the window to keep it in the screen.  Before V2.45, if a tool window is pinned on screen, it will be placed at top and all popup stuffs like message box, popup menu, element editor etc. will be covered by the tool window.  Now we have enhanced this situation, see comparison below:

Another enhancement is that when minimizing the window of ForeUI, all opened tool windows will be hidden as well, thus you can work on other applications without interference.  When you restore ForeUI window, these tool windows will be restored too.

Avoid Negative Z Value

It is recommended not to use negative Z value, because in web browsers other than IE, the element with negative Z value can not receive any mouse event.  So we make some enhancements to avoid the negative Z value being used.

Now the and buttons on floating tool pane can only reduce the Z value down to zero.  If you are sure you need a negative Z value, you can input it directly, like this

Also the Auto Adjust Z Value feature will not set a negative Z value anymore.

Other Enhancements:

  • Validate path before saving the plot file.
  • Highlight the editable part of id when element id editor window shown up.
  • Allow setting z value for embedded element.

Fixed Bugs:

  • Bug_0236: Double clicking embedded element can not open its editor.
  • Bug_0237: Disabled Spinner element should not be able to spin.
  • Bug_0238: Can not disable Tabs/Vertical Tabs element in simulation.
  • Bug_0239: Button text is not correctly align with icon when icon is on top/bottom of text, and text width is less than icon, and using center alignment.