a. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. b. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. c. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.
Some advantages of Java Swings are
* Extensibility
* Customizable * Configurable * Lightweight UI * Loosely Coupled - MVC Architecture * Pleasant look and feel
No. JavaScript can be used only in HTML and other Web Components
The JComponent class of the javax.swing package serves as the base class.
faster speedlower power dissipationmore components in less spaceetc.
Swing is a package in Java which contains tools for building GUI application. Swing is a part of Java's foundation classes.
Swing is technologically more advanced than AWT. It has much more features and functions. It has a richer set of components which can modify and change according to the library. It uses MVC which is Model View Controller Paradigm thus offering a more flexible GUI. Swing also has a built in double Buffering and at the same time is lightweight. It is also one hundred percent java based. And therefore provides icons, and also decorative and attractive borders for components and tool tips. The only flaw is that not all swing might act like native component. Swing is required to create a Java program. This tool kit is highly complex with its customizable text package and its integrated accessibility support. Since swing is built on a 2D package it can easily enhance all animations and images. And its undo framework thus supporting innumerable editing. Thus swing definitely beats AWT in all ways.
Containers in Swing are elements within which we can place other swing components. For ex: The Frame is a container within which you can place panels. The Panel in turn is a container that can hold buttons, text boxes, combo boxes etc. the containers are the building blocks of swing programming. The buttons, text boxes and other items that we place in a Swing UI are all components. For that matter, even the containers can be considered as swing components.
Swing Components are elements like a Frame, Button, Panel etc that can be used as part of Java Swings to create User Interfaces.
Containers in Swing are components within which we can place other swing components. For ex: The Frame is a container within which you can place panels. The Panel in turn is a container that can hold buttons, text boxes, combo boxes etc. the containers are the building blocks of swing programming.
No. JavaScript can be used only in HTML and other Web Components
The swing bridge has very long spans, and behaves better in earthquakes then heavy rigid bridges.ANS 2 -Swing bridges can allow passage of very wide and high ships in a waterway.
what is meant by dc components???
The JComponent class of the javax.swing package serves as the base class.
Java Swing might be needed by someone because Swing provides a native look and feel that matches the look and feel of several platforms, with more powerful and flexible components than AWT.
Java Swings is a technology that is used to create User Interface Components using Java. Swing Events are a part of this technology that is used to handle user actions like click of a button or closing the component etc
faster speedlower power dissipationmore components in less spaceetc.
Swing is a package in Java which contains tools for building GUI application. Swing is a part of Java's foundation classes.
Java Swings is a technology using which we can create powerful and light weight User Interface Components. 1. Swing has a rich and convenient set of user interface elements. 2. Swing has few dependencies on the underlying platform. This means that it is less prone to platform-specific bugs. 3. Swing gives a consistent user experience across platforms.