Tagged: Java Toggle Comment Threads | Keyboard Shortcuts

  • Eamonn Maguire 8:57 pm on October 21, 2011 Permalink | Reply
    Tags: Apache Felix, Java,   

    Unable to cache bundle exception with Apache felix…

    If you have an issue getting Felix to load bundles properly, and encounter this error, make sure your file: variable doesn’t contain any spaces in it, or you escape it beforehand.

  • Eamonn Maguire 5:22 pm on August 18, 2011 Permalink | Reply
    Tags: Autocomplete, , , , Java, Swing   

    ISAcreator 1.5 in beta testing phase 

    So here’s what’s been added:
    1) ISAvalidator integrated (hence larger file size ~34mb). Access it from the utilities menu item;

    ISAcreator is calling the ISAvalidator component directly now as well as using the standard validation within ISAcreator itself.

    2) New add assay functionality;

    The old subform has been replaced with a new view of the Assays.

    When you click on Create assay, you are now presented with a new component to help you select which assay(s) you wish to add.

    3) New integration with the study sample sheet to look up sample names in autocomplete mode (featuring a new component to build on top of the Java Swing infrastructure to provide better, more customisable autocomplete). Also, if you have factors in your study sample spreadsheet, attached to the sample, these will be propagated automatically to the assay spreadsheet;

    Autocomplete on study samples.

    4) Same autocomplete component is used in protocol ref columns now to look up the protocol name without the clunky widget that was there before.

    Autocomplete on Protocols.

    If you want to test it (please let us know if you have any problems by reporting them in our issue tracker, please download it here!

  • Eamonn Maguire 10:24 am on May 13, 2011 Permalink | Reply
    Tags: configurable, , , Java, JList   

    Configurable form views & reorderable JList 

    Form views are now configurable. In itself, this was quite a bit of work to automatically generate an interface from an XML description. So now, the view like that shown in figure 1 below can be customised like the rest of the ISAcreator views (spreadsheets).

    Figure 1 - ISAcreator form view for entry of Investigation information

    However, after working on this new feature, I realised that due to there being clearly defined sections for Investigation Contacts, Publications etc (see figure 2), it’d be useful if users could move these sections around without having to click forever on a move up button in the ISAconfigurator.

    Figure 2 - configure the form view in the ISAconfigurator

    So, after looking at the Swing Hacks book, which demonstrates how to move single items in a JList, I modified this code and made it possible to move entire blocks up/down in a JList as shown in figure 3 below.

    Figure 3 - Moving an entire section around in the JList

    From what I know, this is the first (at least public) implementation of such a JList. The code can be found on the ISAconfigurator GitHub repository. I will probably move this to its own repository in the next few days when I get a little time.

    Thanks to Joshua Marinacci for allowing me to reuse his code. Check out his new project called Amino, it’s very cool for developing Swing applications. You can even skin UI components using CSS.

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc
%d bloggers like this: