Skip to main content

Release Notes: Table2GridBag (1.5)

Posted in
Spec Sheet
Name: 
Table2GridBag
Version: 
1.5
  • Bugfix: Fixed import statements in generated code to include java.awt.Container (was causing trouble when auto generating components to fill empty table cells).
  • New feature: Generated code now includes a create(Object) builder method. This method takes an object and uses reflections to extract the components (by name), the layout specifies. This, of course, requires that this object declares the components by these names as public or protected fields.

Release Notes: Table2GridBag (1.4)

Posted in
Spec Sheet
Name: 
Table2GridBag
Version: 
1.4
  • Added -Dextends property to specify a class (FQN), generated classes will extend (default is "java.awt.Container")

Atheist? Don't make this insanely stupid argument!

Posted in

Actually, I had intended to keep religion out of my blog, but browsing the web, especially youtube, I see this increadibly stupid argument being made over and over again. It is so deeply annoying that I feel a need to break my own rules and rant about it anyway. The argument, I am talking about, starts with a scripture quote and then goes on rumbling how misogynistic the bible is:

<

blockquote>
If a man is caught in the act of raping a young woman who is not engaged, he
must pay fifty pieces of silver to her father. Then he must marry the young woman

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.
Syndicate content