JAVA - JFC & SWING COMPONENTS

Published: 27 February 2022
on channel: EduBlast
373
7

JAVA - JFC & SWING COMPONENTS #java #javatutorial #javaprogramming
JAVA - JFC AND SWING COMPONENTS
JFC: java foundation classes, which encompasses a group of features to help people build GUI. JFC first was announced 1997.
Features :
1- The Swing Components: Include everything from buttons to split panes to tables.
2- Pluggable Look & Feel Support: any program that uses Swing components a potentially wide choice of looks and feels, no matter what platform the program is running on.
3- Accessibility API : Enables assistive tech. such as screen-readers and Braille displays to get information from the user interface.
4- Java 2D API :
5- Drag and drop support :

Difference between AWT and Swing Components:
The biggest difference b/w the AWT components and Swing Components is that the Swing Components are implemented with absolutely no native code.
Swing component can have more functionality than AWT components.
AWT Components : program should not , as a rule use heavyweight
Components alongside swing components.
Heavyweight components include all the ready to use AWT components.
And all components that inherit from the AWT canvas and Panel classes.
Swing components are not thread safe.
Overview of JComponents:
There is an abstract class called JComponents which is the parent class for the most things that can appear on screen.
Jcomponent is a super class that holds the common information about an on screen control and provides higher level features common to each control.
1- Size (preferred , minimum, maximum)
2- Doouble Buffering)
3- Support for accessibility and internationalization .
4- Tooltips
5- Support for operating the control with the keyboard instead of the mouse.
6- Some help for debugging by slowing components rendering
7- The thickness of any lines or insets around #telegram
#instagram
#motuptlu
#chotabheem
#shinchen
#thar
#mahindra
#bmw
#bajaj
#tata
#jawan
#pathan
#facebook
#mahakal
#mahadev
#shiva
#veshnodevi
edge of the control.

How to display components: the container in this example driver program is called JFrame. JFrame will be the main window of most of your swing applications.


Watch video JAVA - JFC & SWING COMPONENTS online without registration, duration hours minute second in high quality. This video was added by user EduBlast 27 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 373 once and liked it 7 people.