Author: doozer

  • SampleFX – Updating a Label

    The humble label is probably one of the most used widgets in the UI designers toolkit so getting to know it inside and out is important. A common task it is to update a label to display some new information depending on the state of the application. Depending on where that new information comes from…

  • SampleFX Mini-Demos

    I’ve taken a short break from the JavaFX and JPA series of articles because I wanted to start a new project that demonstrates common day to day tasks in JavaFX. I’ve called this project SampleFX5 and you can download it here.

  • JavaFX 2 with JPA 2 and Drag and Drop – Part 2

    In the first part of this series I gave an over view of the project and how to install and run it. Now I’ll cover the JPA aspects of the project.

  • JavaFX 2 with JPA 2 and Drag and Drop – Part 1

    After a bit of a break away doing other things I’m back on a project that uses JavaFX 2. So far this project hasn’t required much in the way of persistence either for settings or data but a new feature I’m working on makes use of a database. I use JPA 2 for web based…

  • XPath, JAXP and the Default Namespace

    So you’ve just finished parsing a document with your validating namespace aware document factory and you’ve gone to select some nodes using XPath and nothing has appeared (no nodes where selected). You’ve tried changing the XPath expression, making it simpler and simpler and still nothing. Chances are it’s not he XPath that’s at fault it’s…

  • PrimeFaces p:fileUpload not Appearing

    I hit this issue with the PrimeFaces p:fileUpload component this morning and it had me going for about an hour until I figured out what was wrong. A good googling shows that more than a few people have hit this problem but no one had reported a solution, there was even a bug report closed…

  • Converting a List into a Quoted List

    I recently needed to convert a simple list of strings into something that could be used in a SQL IN clause. The format for the IN clause that I needed was quoted strings with commas between each value.

  • How to Modify the Default NetBeans Template

    By default every single class that you create with NetBeans will start with a header that tells you how to change the template. This header has found it’s way into just about every file in all my projects and it serves no useful purpose, why it can’t just be an empty comment I don’t know…

  • Hudson Hell Part 2

    Just when I think that I’ve got everything working I hit another issue. This time it’s with Subversion. I’m trying to create a new job so I select Subversion under the SCM section and enter the appropriate URL. Hudson tells me that I need to enter credentials so I click the link which takes me…

  • Netbeans 7.3 Maven Profiler Issue

    Neatbeans 7.3 has just been released (yeah) and, like every release it has brought a host of new bugs with it. I try not to document bugs because they tend not to be around for very long and bug databases are normally a better place to look but this one falls into the difficult to…

  • Tomcat Service Fails to Start

    I’ve run more Tomcat services than I care to think about and I reckon I’ve probably seen just about every different way they can fail now. The failure mode I describe here seems to catch me out every time though so I thought I’d write it up so everyone can benefit from my pain.

  • Setting the SQL Server Default Backup Locaton

    I seem to end up looking this one up everytime I install a new instance of SQL Server so I’m sure I can’t be the only one. The default backup path for SQL Server is somewhere deep in the Program Files directory which, if you are a software developer, is a pain in the rear.