A Rich Application Platform: Java FX

ADVERTISEMENT


A Rich Application Platform: Java FX cover page
… Java FX Script > Overview > Getting Started • JavaFX Mobile • Summary and Resource 5 The “Ugly Java GUI” Stereotype• AWT/Swing Container/Component Hierarchy> A tree of rectangular (mostly grey) boxes> If all you do is compose Swing components together, the result is typically “the Ugly Java GUI”> Same problem exists with other tool kits, e.g., GTK, VB• UI Designers and Swing programmers are using different building blocks …

3 Agenda • Java FX Script > Overview > Getting Started • JavaFX Mobile • Summary and Resource
4 JavaFX: Design Questions • Why does it take a long time to write GUI programs? • How can we avoid the “Ugly Java GUI” stereotype? • Why do Flash programs look different than Java programs? • Why does it seem easier to write web-apps than Swing programs? • And how can I avoid having an enormous, writhing mass of listener patterns?
5 The “Ugly Java GUI” Stereotype • AWT/Swing Container/Component Hierarchy > A tree of rectangular (mostly grey) boxes > If all you do is compose Swing components together, the result is typically “the Ugly Java GUI” > Same problem exists with other tool kits, e.g., GTK, VB • UI Designers and Swing programmers are using different building blocks > UI Designers compose designs in tools like Photoshop and Illustrator > The building blocks they use have direct analogs in Java 2D, but not always directly in Swing
6 A Basic Java GUI: Not Very Pretty
7 Java 2D API • To match the designs of UI designers requires using Java 2D API • Java 2D API doesn’t have compositional behavior > Makes it too complex for many programmers to use efficiently • In addition to Swing Components, JavaFX includes SVG-like interfaces to Java 2D API as first-class elements which can be composed together into higher-level components • FX allows declarative expression of this composition

Download A Rich Application Platform: Java FX.Pdf

Leave a Reply


Map: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67