Swing part-one Eriq Muhammad Adams J

Slides:



Advertisements
Similar presentations
G5BUID - Java Swing What is Swing? A part of The Java Foundation Classes Swing Look and feel Accessibility Java 2D (Java 2 onwards) Drag and Drop.
Advertisements

Developing Swing Application with Mattisse GUI Builder eriq adams Developing Swing Application With Mattisse GUI Builder - 10 Dec 2007.
Introduction to Java 2 Programming
1 G54PRG Programming Lecture 1 Amadeo Ascó Adam Moore 22 GUI Programming I.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
NetBeans IDE Tal Maoz Na’ama Zahavi.
Lecture 15 Graphical User Interfaces (GUI’s). Objectives Provide a general set of concepts for GUI’s Layout manager GUI components GUI Design Guidelines.
Introduction to GUI Programming
Creating a GUI with Swing. Introduction Very useful link: Swing – is a part of JFC (Java Foundation.
1 CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
NetBeans IDE Vishnuvardhan.M Dept. of Computer Science - SSBN.
Developing User Interfaces (DUI) Chris North cs3724: HCI.
Creating GUIs in Java using Swing David Meredith Aalborg University.
Java Swing Joon Ho Cho. What is Java Swing? Part of the Java Foundation Classes (JFC) Provides a rich set of GUI components Used to create a Java program.
Java Swing - Lecture 1 An Introduction Milena Radenkovic slides originally by Chris Coleman.
Introduction to Java Swing “We are the sultans of swing” – Mark Knopfler.
Drag and Drop Display and Builder. Timofei B. Bolshakov, Andrey D. Petrov FermiLab.
GUIs for Applets Introduction Applets and Swing/JFC Alternatives to Swing Look-and-Feel issues Example applet graphical user interfaces.
CHAPTER:06 JAVA IDE PROGRAMMING-I Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Java Programming: Advanced Topics 1 Common Elements of Graphical User Interfaces Chapter 6.
Course Introduction Eriq Muhammad Adams J
Cs413_chapt01.ppt Chapter 1 Web Sites Numerous
Chapter 9: Visual Programming Basics Object-Oriented Program Development Using Java: A Class-Centered Approach.
School of Computer Science & Information Technology G6DICP - Lecture 17 GUI (Graphical User Interface) Programming.
Swing [part.1] Taken from Water Milner Eriq Muhammad Adams J |
 2002 Prentice Hall, Inc. All rights reserved Introduction Graphical User Interface (GUI) –Gives program distinctive “look” and “feel” –Provides.
1 CSC111H Graphical User Interfaces (GUIs) Introduction GUIs in Java Understanding Events A Simple Application The Containment Hierarchy Layout Managers.
– Advanced Programming P ROGRAMMING IN Lecture 21 Introduction to Swing.
Graphic User Interface. Graphic User Interface (GUI) Most of us interact with computers using GUIs. GUIs are visual representations of the actions you.
SWING IF YOU GET LOST - IMPORTANT LINKS  Swing articles:
CS Lecture 00 Swing overview and introduction Lynda Thomas
User Interface Programming in C#: Direct Manipulation Chris North CS 3724: HCI.
1 CSC 222: Object-Oriented Programming Spring 2012 netBeans & GUIBuilder  netBeans IDE create/edit/run a project  GUIBuilder JFrame, JButton, JTextField,
SWING 101. IF YOU GET LOST - IMPORTANT LINKS  Swing articles:
A New Approach to Java Clients Robert Buffone Chief Architect Nexaweb Technologies By
Java GUI building approaches Aleksandar Kartelj Faculty of Mathematics, Belgrade 11 th Workshop “Software Engineering Education and.
 GUI – Graphic User Interface  Up to now in the programs we have written all output has been sent to the standard output device i.e.: the DOS console.
CS324e - Elements of Graphics and Visualization Java GUIs - Event Handling.
The Abstract Window Toolkit (AWT) supports Graphical User Interface (GUI) programming. AWT features include: a rich set of user interface components; a.
CS 4244: Internet Programming User Interface Programming in Java 1.0.
Swing part-two Eriq Muhammad Adams J
Before class… 下禮拜一交 Proposal – 至多四人一組, 同組同分 – 請勿超過一張 A4 評分標準 創意 技術難度 實用性 User-defined 完整性.
GUIs Graphical User Interfaces. Everything coming together Known: – Inheritance – Interfaces – Abstract classes – Polymorphism – Exceptions New: – Events.
Swinging in Your Java Playground. Background Swing is a part of the Java Foundation Classes (JFC). The JFC is made up of features intended to give a programmer.
Ajmer Singh PGT(IP) JAVA IDE Programming - I. Ajmer Singh PGT(IP) GUI (Graphical User Interface) It is an interface that uses a graphic entities along.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 32 JavaBeans and Bean.
Java Swing, Events Readings: Just Java 2: Chap 19 & 21, or Eckel’s Thinking in Java: Chap 14 Slide credits to CMPUT 301, Department of Computing Science.
ArgoUML Peterson Lorins Chi-Hwa John Marcos Dawid Trawczynski Leticia Izquierdo EEL5881 Software Engineering I Spring 2002 – Dr. Schiavone.
Chapter 10 - Writing Graphical User Interfaces1 Chapter 10 Writing Graphical User Interfaces.
CIS 270—Application Development II Chapter 11—GUI Components: Part I.
Introduction to Swing Mr. Crone. What is Swing? a collection of pre-made Java classes used to create a modern graphical user interface.
Introduction to Swing Mr. Crone. What is Swing? a collection of pre-made Java classes used to create a modern graphical user interface.
Welcome To java
CSC 222: Object-Oriented Programming
Abstract Factory & Command Pattern
Chapter 9: Graphical User Interfaces
Provision for GUIs in Java
Chapter 8: Writing Graphical User Interfaces
Provision for GUIs in Java
Lecture 8 Object Oriented Programming Using Java
Lecture 27 Creating Custom GUIs
Lecture 28 Concurrent, Responsive GUIs
Swing & the JFC – Advanced Java GUI
GUIS: Graphical User Interfaces
Introduction to Computing Using Java
Building Graphical User Interface with Swing a short introduction
Week 8 Swing NetBeans GUI Builder
F II 1. Background Objectives
TA: Nouf Al-Harbi NoufNaief.net :::
Presentation transcript:

Swing part-one Eriq Muhammad Adams J

* Overview * Netbeans Matisse GUI Builder * Internationalization * SwingWorker

* JFC (Java Foundation Class) consist of AWT, Swing, Java 2D, Drag n Drop, Accessibility. * The Abstract Window Toolkit (AWT) is the part of Java designed for creating user interfaces and painting graphics and images.

* Swing is built on top of AWT. * Swing uses MVC architecture. * All swing components conform to JavaBeans specification. * Support event handling and dispatching.

* Swing Component’s Hierarchy :

* By default all AWT and Swing-based applications start off with two threads. One is the main application thread which handles execution of the main() method. The other, referred to as the event-dispatching thread, is responsible for handling events, painting, and layout. * If you have time-consuming process in GUI application, you have to start your process in another thread in order not looks laggy. SwingWorker will help you to do that. * For rapid n easy development please use Netbeans Mattise GUI Builder. * You can extends any swing components to create new components, but please check free components out there before to save time.

* Please check these tutorials to learn about matisse.  GUI Building in NetBeans IDE Tutorial  NetBeans IDE GUI Builder Visual Feedback Legend  Handling Images in A GUI Application image-display.htmlhttp://netbeans.org/kb/docs/java/gui- image-display.html  Adding a FileChooser to a GUI Application  Creating a Graphical Client for Twitter  Designing a Basic Java Form Using the GridBag Customizer  Designing an Advanced Java Form Using the GridBag Customizer  Designing a Swing GUI in NetBeans IDE Screencast

* If you want your application support several languages, you have to add internationalization. * Internationalization commonly be called i8n. * Please check tutorial about i8n with Matisse at

* SwingWorker used when you have background process / task that time consuming process. Create SwingWorker Procedure for background task Procedure if background task completed Start background task