You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openwebbeans.apache.org by Gurkan Erdogdu <gu...@yahoo.com> on 2009/10/18 20:31:14 UTC
Java Swing Example using OWB
Hi folks,
I have created a Java Swing sample that uses OWB for injection. Sample shows a very simple usage of OWB in Java SE Swing application.
Source of the module is under "trunk/samples/standalone-sample".
Firstly you run mvn:install from the "trunk" to install/update necessary modules.
Then;
>> cd samples/standalone-sample;
>> mvn clean package;
This creates a jar in "target/standalone-sample.jar"
>>unjar this into any folder
>> java -jar standalone-sample-1.0.0-incubating-SNAPSHOT.jar Boot
It shows simple login screen :)
Thanks;
--Gurkan