P. 1
Swing Javabuilder

Swing Javabuilder

Ratings:

4.5

(2)
|Views: 1,654 |Likes:
Published by jacek996645
Maximum productivity via minimum code via declarative UI
Maximum productivity via minimum code via declarative UI

More info:

Published by: jacek996645 on Mar 25, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/17/2011

pdf

text

original

 
Swing JavaBuilder
Achieving maximum productivity withminimum code via declarative UIs
Jacek Furmankiewicz
Version 0.3
 © Copyright 2008-2009 Jacek Furmankiewicz
 
Contents
Installation
...........................................................................................................................6
Overview
..............................................................................................................................7
YAML
........................................................................................................................7
Compact YAML syntax
........................................................................................... 9
Development tools
................................................................................................10
Benefits
..................................................................................................................10
Drawbacks
............................................................................................................. 11
Swing JavaBuilder in 60 seconds or less
...................................................................... 12
Core Features
....................................................................................................................17
Obtaining references to created components
....................................................17
Hooking up event listeners to Java methods
.....................................................17
Databinding
............................................................................................................18
Input validation
......................................................................................................19
Executing long running methods on a background thread
.............................. 20
Internationalization
............................................................................................... 22
Enum property values
...........................................................................................22
Static int constant property values
......................................................................23
Using custom components
.................................................................................. 23
Custom global commands
....................................................................................24
Build events
...........................................................................................................24
Hot deployment of UI components
......................................................................25
Swing Features
.................................................................................................................26
Overview
................................................................................................................ 26
Actions and menus
...............................................................................................26
Borders
...................................................................................................................28
Button Group
.........................................................................................................28
Colors
.....................................................................................................................29
Fonts
.......................................................................................................................29
Icons and images
..................................................................................................29
JFrame
....................................................................................................................30
JScrollPane
............................................................................................................30
JSplitPane
..............................................................................................................30
JTabbedPane
.........................................................................................................30
JTable
.....................................................................................................................31
Event handlers
.......................................................................................................31
Swing Layout Management
............................................................................................. 34
MigLayout DSL
......................................................................................................34
MigLayout
.............................................................................................................. 37
CardLayout
............................................................................................................ 37
FlowLayout
............................................................................................................ 37
Extending the JavaBuilders engine
................................................................................39
Appendix
........................................................................................................................... 40
Layout Samples
.....................................................................................................40
Swing JavaBuilder - Achieving maximum productivity with minimum code via declarative UIs
i

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
afucelli liked this
lorenzPfisti liked this
chocks liked this
chocks liked this
amoratinos liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->