Author: saqibkhan

  • Core Classes

    The JavaMail API consists of some interfaces and classes used to send, read, and delete e-mail messages. Though there are many packages in the JavaMail API, will cover the main two packages that are used in Java Mail API frequently: javax.mail and javax.mail.internet package. These packages contain all the JavaMail core classes. They are: Class Description javax.mail.Session The key…

  • Environment Setup

    To send an e-mail using your Java Application is simple enough but to start with you should have JavaMail API and Java Activation Framework (JAF) installed on your machine. You will need the JavaBeans Activation Framework (JAF) extension that provides the javax.activation package only when you’re not using Java SE 6 or newer. Download and unzip these files, in the newly created top…

  • Overview

    The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. The JavaMail API provides a set of abstract classes defining objects that comprise a mail system. It is an optional package (standard extension) for reading, composing, and sending electronic messages. JavaMail provides elements that are used to construct an interface…

  • Box Blur Effect

    In general, Blur means becoming unclear, on applying blur effect to a node it is made unclear. Box Blur is a kind of blur effect provided by JavaFX. In this effect, to apply blur to node, a simple box filter is used. The class named BoxBlur of the package javafx.scene.effect represents the BoxBlur effect, this class contains four properties,…

  • Glow Effect

    Just like the Bloom Effect, the Glow Effect also makes the given input image to glow. This effect makes the pixels of the input much brighter. The class named Glow of the package javafx.scene.effect represents the glow effect. This class contains two properties namely − Example The following program is an example demonstrating the Glow Effect of JavaFX. In…

  • Bloom Effect

    The Bloom effect in JavaFX will make the pixels in some portions of the node are made to glow. The class named Bloom of the package javafx.scene.effect represents the bloom effect. This class contains two properties, which are − Example Following is an example demonstrating the bloom effect. We will be drawing a text “Welcome to Tutorialspoint” and applying…

  • Blend Effect

    In general, blend means mixture of two or more different things or substances. If we apply the blend effect, it will take the pixels of two different inputs. This will be done at the same location and it produces a combined output based on the blend mode. For example, if we draw two objects the top…

  • Image Input Effect

    Image input effect in JavaFX just embeds an image to the JavaFX screen. Just like in the Color Input effect, it is used to pass the specified colored rectangular region as an input to another effect. An Image Input effect is used to pass the specified image as an input to another effect. On applying…

  • Color Input Effect

    Color Input Effect gives the same output as drawing a rectangle and filling it with color. Unlike other effects, if this effect is applied to any node, it displays only a rectangular box (not the node). This effect is mostly used to pass as an input for other effects. For example, while applying the blend…

  • Color Adjust Effect

    The most basic effect that can be performed on any image is adjusting its color. Various image processing applications allow you to do it. Similarly, JavaFX also allows you to adjust a color of an image in an application. You can adjust the color of an image by applying the color adjust effect to it.…