Java Windows

Many of the Java windows are fairly complicated, but make sense once you know what's going on. If you're new to Java window construction and are looking at SORTIE window code, it may be intimidating. Just ask for help.

Swing

Windows in the Java GUI are constructed from Swing components. Swing components are platform-independent GUI controls, like dialogs, buttons, edit fields, drop-down lists, etc. You can find complete Swing documentation within Sun's Java tutorial.

JBuilder, and other Java development kits, contain Swing window builders to help with component layout. Once I figured out Java layout (which was quite a task), I stopped using them and started directly writing the code that constructs windows from their components. The code was simpler and cleaner. You are free to construct windows however you like, as long as you don't use proprietary components. It's not always easy to tell what's proprietary - but if you have to import any packages that don't start with "java." or "javax." then you're probably using proprietary components.

Windows should look nice - everything aligned and so forth - but they can be basic, plain, and functional. Simple is good.

Common elements

SORTIE windows share some common elements to make things consistent and easy to update. They are:

16-Feb-2005 10:49 AM