Here I describe some notable Linux distribution errors which can be corrected with the following startup options (1) and CSS changes (2).
1. Startup Problems
There seems to be problems with CentOS 7 in general. If the application does not start correctly, e.g., the Bio7 window will not be shown then add the following arg (e.g., with a text editor) to the Bio7.ini file in the Bio7 base folder (installation folder).
This arg had to be added like this in the*.ini file (see screenshot – don’t place it wrong else an error will occur!):
After saving the file Bio7 should be started on CentOS 7 (see screenshot below)! Please note that you can also adjust the Java memory there.
Another rare error occuring in Fedora is described here!.
However I tested Bio7 on the latest Fedora release and Bio7 started without any problems.
2. Layout Problems
If the layout of your distribution seems to be distorted (e.g., maximize buttons are to small – could be occuring in the default layout of Fedora and CentOS!) this can be corrected in the Bio7 CSS. The file can be found under:
(win7.css was reused for Linux so please don’t wonder)
The following changed css attributes will correct the height of the toolbars (changed attributes in bold):
/*Important to set height for the view menus!*/
Of course you can change other attributes as well, e.g., if you want to change a color.
I’m constantly working on the Linux and Mac version of Bio7 2.0 which caused some difficulties because of the OS specific functionalties of Bio7. However I was able to solve many mysteries and could even improve the GUI display (e.g., font size of the view menus) and behaviour of the embedded AWT components (e.g., now the ImageJ dialogs are modal). Here is a MacOSX screenshot of the results:
First I will release the Linux version (hopefully next week and then later the Mac version). I still have to solve some problems (embedding a JRE and JavaFX on MacOSX) but I’m quite confident to solve these problems, soon.
I recently integrated JDT as the default Java framework of Bio7 to edit Java for the next release. Just out of curiosity i tried to install the GUI development tool WindowsBuilder for Eclipse from the default update site to see if it works with Bio7 and JDT. The first tests were promising and i could easily built up custom GUI’s, compile and load them dynamically into a running Bio7 instance. Beside the upcoming integrated JavaFX SceneBuilder for the next release the possibility to use the powerful WB would be great to create custom Bio7 views’s rapidly.
Below you can see a screenshot:
I was very unhappy with the default look and feel of my Rich Client Platform based on Eclipse 4.4 so i decided to work on a new custom CSS with gradients for Bio7. The nearly finished CSS (tested on Windows) is displayed below which corrects not only colours but also the different toolbar settings (background of the main toolbar and height of the view toolbars) to display e.g. the floating toolbar actions correctly without hiding other window elements.
There are still some minor bugs to correct. E.g. the Maximize, Minimize icons have to be resized to display the toolbar colour correctly.
In addition i was able to correct the alignment of the different Bio7 editor actions and i could even improve the integration of the JDT actions and hide unnecessary GUI elements for Bio7 (menu and toolbar – see screenshot below).
In the next release of Bio7 it will be possible to transfer opened ImageJ images from a tab to a detachable view. This action makes it possible to open several images side by side, detach images or translate them to a secondary monitor. In addition it is possible to nest several images in one detached window (see screenshot below).