Skip to main content

SEO, Webmaster, AdSense, Java, Linux, Release notes, Drupal 6.x, C(++), Book Reviews, Potpourri, Security, Home & Garden, Rants, Note to self

A method for handling I18N in Java

Posted in

Let's talk about Java and internationalization. Java makes a pretty clear point about being platform independent and so it's only logical to also try to keep user interfaces language neutral. When you read the Java I18N trail however, it more or less only tells you to use ResourceBundleS, but keeps rather quiet about best practice. What you are essentially left alone with are the four most important questions:

  • What's a good naming scheme for keys?
  • How do you organize the property files?

Swing MDI: coming up with a window placement algorithm for JInternalFrameS / JDesktopPaneS

Posted in

This is utmost annoying: Swing MDI has been around for ages and nowhere there's a decent, ready to use window placement algorithm to be found. I mean, I understand that there's no one size fits all solution to this problem, but you should at least expect some example code somewhere. The JDesktopPane class is pretty much useless if you are just going to pop up your JInternalFrameS at 0,0 and then expect the user to arrange them. Yet, nothing, zip, zilch that would even give you an idea of writing a window positionier.

Java, applications and user feedback: which program version are you using anyway?

Posted in

Do you know this kind of situation? You get an email - A bug report for one of your applications and it kinda reads like: "Help, your app is broken - please fix it". Now it's your job to help the user figure out which application is meant (assuming your portfolio contains several) and more importantly, which version of that application s/he is actually using. A task, that usually includes sending back and forth a number of extra emails, just to explain how to gather the required information.

Release Notes: GiftedMotion (1.20)

Posted in
Spec Sheet
Name: 
GiftedMotion
Version: 
1.20
  • Fixed the player sometimes skipping frames when drawing takes long by making sure that events are in fact fired on the event dispatcher thread.

Book Review: Drupal e-commerce with Ubercart 2.x

Posted in

The web has leveraged postal shopping. Webshops have established themselves as a cost efficient alternative to printing and mailing catalogs to customers. With Drupal and Ubercart, online stores can nowadays be operated at a fraction of the cost and size of the original mail-order outlets, allowing even small companies to enter the market.

Structure and Content

Release Notes: Table2GridBag (1.3)

Posted in
Spec Sheet
Name: 
Table2GridBag
Version: 
1.3
  • Added more control over component alignment by interpreting the "style" attribute in table cells.
  • Added a preview mode. When started with -Dpreview, Table2GridBag will now open a preview window, containing the layout.
  • Added the "ConfigurablePanel" class - a panel that allows for dynamic layout changes in GUI applications without the need to recompile anything.
  • Added support for putting a preamble in front of the generated code (e.g. for adding a copyright/license notice).
  • Table cells can now be left empty, in which case they are automatically populated by a filler component.

Release Notes: Table2GridBag (1.2)

Posted in
Spec Sheet
Name: 
Table2GridBag
Version: 
1.2
  • Bugfix: -Dindent="" now recognizes the underscore ("_") character as tab, so multiple tabs can be specified on the console.
  • Added the new "-Dclass" property, which will produce a complete class instead of just the layout code.

Quick Drupal performance test: The Boost module makes a huge difference

Posted in

I have been playing with the Boost module a bit today. Boost is a nifty caching module that can vastly increase your website's performance when most of your visitors are anonymous users. So, how does Boost work? Basically, whenever an anonymous user requests a page, that page is not only delivered to the user, but also stored in a file. When a second anonymous user requests the same page again (within a given time), the webserver does not even bother to boot Drupal, but will just deliver the cached file instead.

Release Notes: Table2GridBag (1.1)

Posted in
Spec Sheet
Name: 
Table2GridBag
Version: 
1.1
  • Added user friendly error reporting.
  • Renamed properties. "cname" became "contraints" and "lname" became" "layoutManager"
  • A lot of cleanup and streamlining.

DVD authoring for domestic use on a Linux box

Posted in

Do you know what's funny about the movie "Plan 9 from outer space"? It's so bad that you wouldn't want to pay money for it and therefore nobody would try to sell it to you anymore. Yet, you just have to see it. Good news is, the movie is, like many others of that era, in the public domain now. Bad news are that you need to download it and are likely to end up with something that will play fine on your PC, but not necessarily on a DVD player.

Syndicate content