Java swings

Post on 22-May-2015

2.447 views 4 download

Tags:

Transcript of Java swings

Group members

Alisha KorpalNivia JainSharuti Jain

Swing is the primary Java GUI widget toolkit.

It is part of JFC an API for providing a GUI for Java programs.

The IFC was a graphics library for Java originally developed by Netscape Communications Corporation and first released on December 16, 1996.

On April 2, 1997,  intention to incorporate IFC with other technologies to form the Java Foundation Classes.

Foundations Extensible Customizable Configurable Light Weight UI

Relationship to AWT

Swing is a highly partitioned architecture

Users can provide their own custom implementations of these components to override the default implementations.

In general, Swing users can extend the framework by extending the existing ones

Customize the border its layout.

 Assigning specific Borders, Colors, Backgrounds, opacities, etc., as the properties of that component.

Unique GUI controls with highly customized visual representation.

Swing's heavy reliance on runtime mechanisms and indirect composition patterns allows it to respond at runtime to fundamental changes in its settings.

In AWT, each component is rendered and controlled by a native peer component specific to the underlying windowing system.

Contrast, Swing components are often described as lightweight because they do not require allocation of native resources in the operating system's windowing toolkit.

Swing provides many standard GUI components such as button, lists, menu which combine and create a GUI

Swing provides containers such as windows and toolbars

Top level: frames, dialogs Intermediate level : panel, scroll paneOther swing components: buttons, labels

Applications with a GUI typically use at a least one frame

http://en.wikipedia.org/wiki/Swing_(Java) Matthew Robinson, Pavel Vorobiev: Swing, Second Edition, Manning, 

ISBN 1-930110-88-X http://www.google.co.in/

#sclient=psy&hl=en&source=hp&q=swings+in+java&pbx=1&oq=swings+in+java&aq=f&aqi=g5&aql=&gs_sm=e&gs_upl=170399l176171l0l176515l21l14l1l0l0l2l1764l7815l4-2.2.1.1.2l9l0&bav=on.2,or.r_gc.r_pw.&fp=cc63231dd3ba60f6&biw=1280&bih=869

http://docs.google.com/viewer?a=v&q=cache:P8TA9pgDM1YJ:waltermilner.com/downloads/JavaSwing/Java%2520Swing.ppt+swings+in+java+ppt&hl=en&gl=in&pid=bl&srcid=ADGEESiEz8NwezOYwyipXPonXBC0nWcz1oAqRU3dKPsqMlEJzV9_ZTtfxoyBy3gyROz859XKJYIoS7867YIKWIztvGsvf1wG68QBiyaV65GYPYkeDFfJ8XujEaoQOFWJF-vmzmGZe0VH&sig=AHIEtbRatSwTaKEOa7DH8iV2tFaZPyCAbQ