On the Java API

Posted by Nat Tuck Wed, 01 Oct 2008 02:27:00 GMT

Apparently in Java you can’t just read a file. First you have to create a FileOpenerFactory which has a createFileOpener() method, which returns a FileOpener, which has an openFile() method. The openFile() method returns nothing, but then you can call the getOpenedFile() method to get a File object. You can’t actually read from a File object though…

Read more...

Tags , ,

Apparently width = 800 *does* matter for web sites.

Posted by Nat Tuck Thu, 04 Sep 2008 19:34:00 GMT

I recently got a nice big monitor - 25.5", 1920x1200 - and I discovered a neat feature of modern windowing systems that I really hadn’t used that much previously: non-maximized windows. On my monitor, it’s possible to put two windows next to each other and still have a useful amount of text in both.

Any application or web page that I do that with gets an oddly shaped "screen" to work on: 960x1200. That’s not quite the with of a 1024x768 screen, but something targetting 800x600 will fit fine.

Read more...

Tags , ,