AWT Component Class

  • Post author:
  • Post category:AWT
  • Post comments:1 Comment

Introduction The Component class is the abstract base class for the non-menu user-interface controls of AWT. A component represents an object with graphical representation. Class declaration Following is the declaration for java.awt.Component class: public…

Continue ReadingAWT Component Class

AWT Controls

  • Post author:
  • Post category:AWT
  • Post comments:14 Comments

In this topic, we will discuss AWT Controls. Every user interface considers the following three main aspects: UI elements : Thes are the core visual elements the user eventually sees and…

Continue ReadingAWT Controls

Boon – @JsonViews

  • Post author:
  • Post category:Boon
  • Post comments:0 Comments

@JsonViews is used to control values are to be serialized or not. Example - @JsonView The following example is for @JsonView − import org.boon.json.JsonSerializer; import org.boon.json.JsonSerializerFactory; import org.boon.json.annotations.JsonViews; public class…

Continue ReadingBoon – @JsonViews

Boon – @JsonInclude

  • Post author:
  • Post category:Boon
  • Post comments:0 Comments

@JsonInclude is used to include properties having null/empty or default values. By default Boon ignores such properties during serialization/de-serialization. Example - @JsonInclude The following example is for @JsonInclude − import…

Continue ReadingBoon – @JsonInclude