Posts about software development
Terraform - Infrastructure as code

We recently started using this outstanding devops tool called Terraform at Drover. Basically it allows us to describe how we want our environments to be and apply that "plan" automatically. It's a bit like Ansible and its playbooks concept but - IMO -...

JAVA vertical gradient background panel

Recently i had to create a gradient background for one of the panels in our [POS application](http://inforviegas.pt/wp-content/uploads/2010/09/VOS.jpg), so i though i'd share the code.

You need to pass the top and bottom colors of the gradient and...

JAVA JScrollPane change scrollbar width or height

It's actually pretty simple. Just do something like this, adjusting to the horizontal scrollbar and/or the height that you want:

yourScrollPcane.getVerticalScrollBar().setPreferredSize(new Dimension(85, Integer.MAX_VALUE));