• OpenSolaris

    Update (February 2011): Oracle stopped contributing to the OpenSolaris project so it is basically dead. However you can use Oracle Solaris 11 Express at no cost under the Oracle Technology Network Developer license if you are developing, testing, or prototyping applications. For a long time I have been using Gentoo...


  • A Java PopupWindow

    Have you ever wanted to display a popup to enter text or choose a color? Well if you have then you probably know that Swing does not have a component with this functionality. There is the JPopupMenu, but if you add components to it that menu will become hidden when...


  • JTextArea Tab Traversal Behavior

    I found that the JTextArea has a very annoying behavior when you try to tab traverse through a form that contains one. Once you tab traverse into the JTextArea you cannot tab traverse out of it because pressing TAB just inserts an actual tab character. In order to tab traverse...


  • Splitting a vCard into Multiple Files

    Recently I wanted to sync my contact list from Google Mail to my old Samsung Gleam SCH-U700 via Bluetooth. From Google Mail I exported a single vCard file containing 170 individual contacts. I tried to send the that single file to my phone, but the end result was that the...


  • Debug Your GUI: Redirecting and Distributing System.out

    Recently I was reading Swing Hacks by by Joshua Marinacci and Chris Adamson (ISBN: 978-0-596-00907-6). I came across Hack 95: Debug Your GUI which basically recommends building a dialog window containing a JTextArea that has the standard output streams routed to it. I thought this hack could be useful for debugging deployed applications since it makes it very...