
Totally Gridbag
About this video
Totally Gridbag is a short humorous animation about the frustrations of Java Swing's GridBagLayout, originally made as a Flash cartoon.
Why it appears in the archive
It is posted as an in-joke whenever Java GUI layout, Swing or desktop UI toolkits come up.
AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.
From the Hacker News discussion
It's a double edged sword. On the one hand, you know what APIs they've committed to and won't change. On the other hand, often you want to extend more then they would "allow". And because you're wrapping their APIs, when those APIs change, you should only have to change your code in the one place where you overloaded them. There's a lot of bad things said about JFC/Swing, I won't repeat them here, but it did allow you to extend almost everything. And as a side note, GridBagLayout is powerful and elegant, despite what some people say: [VIDEO]
Read original comment ↗well we're talking about the tooling, but point taken, swing wasn't perfect (totally grid bag 2007 short [VIDEO] ) but it's not like it was that worse than flex bugs ( [LINK] still does render differently in chrome than firefox - which one is wrong is immaterial)
Read original comment ↗Absolutely agree, provided you use a layout manager that isn't brain damaged. Anyone remember this video? [VIDEO] - Totally Gridbag
Read original comment ↗