I made this program to go along with my process for handling incoming digital pictures, but I hope you might find it useful also.
I copy files from my camera in to a working directory, and bulk rename them using my Nautilus script: rename-with-exif-date.sh. This gives me a bunch of files with a timestamp in [...]
by Scott Carpenter on 26 November 2007 at 9:39 pm
permalink |
comments (none) | filed under uncategorized
tagged: java, programming
I'm working on a small application to help me with naming and sorting my pictures, so one of the basic things it needs to do is load and scale an image. Found lots of information here and there on this, and this post is to share what I came up with.
When searching around trying [...]
by Scott Carpenter on 11 November 2007 at 8:26 am
permalink |
comments (8) | filed under uncategorized
tagged: graphics, java, programming
Let's say you have a project with package Example, and in that package you have:
Example.java // troublemaker!
ExampleUI.java // "form" - extends JFrame
LabelExample.java // extends JLabel
One of the cool things about the Matisse GUI Editor in NetBeans is that you can add LabelExample.java as a [...]
by Scott Carpenter on 10 November 2007 at 8:48 pm
permalink |
comments (none) | filed under tech
tagged: java, netbeans, programming
Displaying code on a web page can be tricky, and even trickier if you use WordPress. You may have noticed in WordPress that straight quotes turn in to curly quotes, multiple dashes turn in to en dashes and em dashes, and so on. While this may make our posts look prettier, it does [...]
by Scott Carpenter on 4 November 2007 at 11:26 am
permalink |
comments (2) | filed under uncategorized
tagged: java, wordpress
Following up on my previous, surprisingly popular post about NetBeans, I finally wrote a Java GUI program with it. Simple program, but the writing of it confirmed my initial impression that NetBeans will be a good Java IDE for me. I've been avoiding the learning curve of Java GUI, but this weekend I [...]
by Scott Carpenter on 29 October 2007 at 4:56 am
permalink |
comments (none) | filed under uncategorized
tagged: java, netbeans, programming
An objection I've had to many programming books and web sites is that they don't make sample code available under a free software license. This is within the rights of the author, of course, but it seems counter to the spirit of teaching and sharing knowledge to restrict the use of example code.
A writer [...]
by Scott Carpenter on 14 September 2007 at 3:15 pm
permalink |
comments (none) | filed under free software
tagged: artificial intelligence, books, code, gpl, java
NetBeans Projects Pane
I'm trying out NetBeans 5.5.1 as a Java IDE and I'm very impressed so far. Thought I'd cough up some related thoughts on programming environments and free software, mixed with some personal history:
MS Visual Basic
I began my corporate programming career using Visual Basic 4, and moved on up to VB6, which I continued [...]
by Scott Carpenter on 28 August 2007 at 2:49 pm
permalink |
comments (20) | filed under uncategorized
tagged: java, netbeans, programming
To celebrate this great day, here's a little bit of free software, released under the terms of the GNU General Public License, version 3: a Java class I wrote to find all permutations for a given string. I may later post some more in the way of documentation, but for now, por ejemplo:
PermutationIterator p [...]
by Scott Carpenter on 29 June 2007 at 11:23 pm
permalink |
comments (4) | filed under free software
tagged: code, java