Java Predicate Interface It is a functional interface which represents a predicate (boolean-valued function) of one argument. It is defined in the…
javax.swing
-
-
Java Function Interface It is a functional interface. It is used to refer method by specifying type of parameter. It returns a…
-
Java Consumer Interface It is a functional interface defined in java.util.function package. It contains an abstract accept() and a default andThen() method.…
-
Java BiConsumer Interface BiConsumer Interface accepts two input arguments and does not return any result. This is the two-arity specialization of Consumer…
-
Java JFileChooser The object of JFileChooser class represents a dialog window from which the user can select file. It inherits JComponent class.…
-
Java JSpinner The object of JSpinner class is a single line input field that allows the user to select a number or…
-
How to change TitleBar icon in Java AWT and Swing The setIconImage() method of Frame class is used to change the icon…
-
Java JFrame The javax.swing.JFrame class is a type of container which inherits the java.awt.Frame class. JFrame works like the main window where…
-
Java JSplitPane JSplitPane is used to divide two components. The two components are divided based on the look and feel implementation, and…
-
How to use ToolTip in Java Swing You can create a tool tip for any JComponent with setToolTipText() method. This method is…