If you see this, gubatron.com has successfully moved to Amazon Web Services.
Related Posts
How to use environment variables in your Eclipse project Run Configuration
Say you have some environment variables that you’d love to use as arguments of an executable in your project. 1. Go to “Run Configurations” 2. Click on the “Environment” tab. 3. Click the “Select” button. 4. A list with all of your environment variables will be shown. Choose the environment variables you need for this […]
Only when you start reading minds you start becoming an expert at something.
I’ve been doing what I now consider truly coding for the last 4 years, but I’ve been doing much simpler programming for 10 years. Something happened more over the last 2 years, as I used other’s peoples libraries and found bugs or thought of ways of improving them, I stopped being afraid or intimidated by […]
Java: Have a JTable’s column preferred width adjusted perfectly to the size of the longest string in the model
Here’s a utility method I’ve coded for FrostWire’s partial download dialog. With it I’m able to adjust a JTable’s column by iterating over the table’s column model data and calculating the exact dimensions required to render the longest string found. You can specify a maximum width (to avoid some really long strings from screwing up […]