EXAMPLES

Here are some example applications written with jnex :

  • Hello World :

  • A simple Hello World example for jnex using the Swing UI. Uses a StringModel and creates a viewer and an editor for it. Also uses the HTMLViewer to render HTML code in a Swing UI. HTMLViewer is a jnex DataViewer that is based on the well known JEditorPane only that HTMLViewer is bound to a StringModel that either stores the HTML code itself or just a URL. Download

  • The Team application :

  • The Team is an application that lets you manage member informations i.e for a team or club, like addresses , member status, photos etc...The application makes the created information persistant, so it is a good jnex persistance example. The example also demonstrates the usage of various datamodels and how to combine them to make app-specific datamodels and finally how to build a nice Swing UI with jnex. Download

  • HTML/Servlet Example :

  • This is a simple example for a jnex servlet application where the datamodels are rendered to a web interface. To understand the concept of Jnex web apps look in the docu section for the overview on making web apps with jnex. Download

  • ULC Example/Three-tier-example :

  • The package is called ULC example but in fact it demonstrates jnex with its three possible UIs : Swing , HTML and ULC ! Maybe the best jnex example ever ! This example uses persistance, layout, custom models, viewers and controllers and a jnex servlet implementation. To understand the concept of Jnex web apps look in the docu section for the overview on making web apps with jnex. Download

  • Calculator :

  • A calculator ! Demonstrates layout capabilities and more... Download