top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Small Overview About Swing GUI ?

0 votes
348 views

What is Swing GUI?

Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT).

Swing API is a set of extensible GUI Components to ease the developer's life to create JAVA based Front End/GUI Applications. It is build on top of AWT API and acts as a replacement of AWT API, since it has almost every control corresponding to AWT controls. 

Swing component follows a Model-View-Controller architecture to fulfill the following criterias.

  • A single API is to be sufficient to support multiple look and feel.
  • API is to be model driven so that the highest level API is not required to have data.
  • API is to use the Java Bean model so that Builder Tools and IDE can provide better services to the developers for use.

Swing is a set of program component s for Java programmers that provide the ability to create graphical user interface ( GUI ) components, such as buttons and scroll bars, that are independent of the windowing system for specific operating system . Swing components are used with the Java Foundation Classes ( JFC ).

Video for SWING GUI

posted Nov 14, 2017 by Manish Tiwari

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button


Related Articles

What is Swing ?

Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) — an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT).

What is Java Swing?

ava Swing is a lightweight Java graphical user interface (GUI) widget toolkit that includes a rich set of widgets. It is part of the Java Foundation Classes (JFC) and includes several packages for developing rich desktop applications in Java.

Swing includes built-in controls such as trees, image buttons, tabbed panes, sliders, toolbars, color choosers, tables, and text areas to display HTTP or rich text format (RTF). Swing components are written entirely in Java and thus are platform-independent.

Advantages for Java Swing over AWT

1)Swing components are lightweight (less resource intensive than AWT).
2)Swing provides built-in double buffering.
3)Swing provides paint debugging support for when you build your own components.
4)Swing components follow the Model-View-Controller paradigm (MVC), and thus can provide a much more flexible UI.

Disadvantages for Java Swing over AWT

1)It requires Java 2 or a separate JAR file.
2)If you're not very careful when programming, it can be slower than AWT (all components are drawn).
3)Swing components that look like native components might not act exactly like native components.

Video for Swing

https://www.youtube.com/watch?v=ZDw18yUwz6I

READ MORE

What is Macchina?

Macchina is an open source software toolkit for quickly building embedded applications for the Internet of Things that run on Linux-based IoT gateways and devices like the Raspberry Pi, Beaglebone, RED Brick or Galileo/Edison. 

Macchina implements a web-enabled, modular and extensible JavaScript and C++ runtime environment and provides easy to use building blocks that enable applications to talk to various sensors and devices, as well as cloud services.

Rapidly build IoT device applications in JavaScript and/or C++. Reliable and rock-solid, based on industry proven components like the POCO C++ Libraries and the V8 JavaScript engine. Implemented in C++ for maximum efficiency. 

Runs on Embedded Linux devices with as little as 32 MB of RAM, as well as desktop Linux and OS X. Develop and test on desktop machine, then easily deploy to embedded device.

It runs on Linux-based devices, including IoT gateways, industrial computing devices, and prototyping platforms like the Raspberry Pi, Beaglebone and MangOH.

It is based on the POCO C++ Libraries and uses the V8 JavaScript engine.

Video for Macchina 

https://www.youtube.com/watch?v=vhfu38AyMPU​

READ MORE

What is Expo CLI?

Expo CLI is a command line interface for developing Expo apps. It also includes a web-based interface (Expo Dev Tools) for using some of the most often used features also from a quick to use graphical interface.

Expo apps are React Native apps which contain the Expo SDK. The SDK is a native-and-JS library which provides access to the device's system functionality (things like the camera, contacts, local storage, and other hardware). That means you don't need to use Xcode or Android Studio or write any native code, and it also makes your pure-JS project very portable because it can run in any native environment containing the Expo SDK.

Expo also provides UI components to handle a variety of use-cases that almost all apps will cover but are not baked into React Native core, e.g. icons, blur views, and more.

Finally, the Expo SDK provides access to services which typically are a pain to manage but are required by almost every app. Most popular among these: Expo can manage your Assets for you, it can take care of Push Notifications for you, and it can build native binaries which are ready to deploy to the app store.

Video for Expo CLI

https://www.youtube.com/watch?v=cWZHjuKTg7g

READ MORE

What is Vue Native?     

Vue Native is a framework to build cross-platform native mobile apps using JavaScript. Vue Native is a mobile framework to build a truly native mobile app using Vue.js. It is designed to connect React Native and Vue.js.

Vue Native is a wrapper around React Native APIs, which allows you to use Vue.js and compose rich mobile User Interface.

Vue is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only and is easy to pick up and integrate with other libraries or existing projects.​

Features

  • Declarative rendering
  • Two-way binding
  • The goodness of Vue ecosystem
  • Compiles to React Native
  • Completeness of React Native ecosystem

A video for Vue Native 

https://www.youtube.com/watch?v=8e0XHPylhj0

READ MORE
...