Tagged: Java Swing

JEditorPane 0

JEditorPane

javax.swing Class JEditorPane java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.text.JTextComponent javax.swing.JEditorPane All Implemented Interfaces: Accessible, ImageObserver, MenuContainer, Scrollable, Serializable 1. JEditorPane: Basics JEditorPane is sort of a fancy text area that can display text derived from...

JTabbedPane 0

JTabbedPane

javax.swing Class JTabbedPane java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTabbedPane All Implemented Interfaces: ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants JTabbedPane allows you to view several JPanels at once in the same screen real estate. The user selects...

JFileChooser 0

JFileChooser

A Swing component to ask the user to select a file or directory. The AWT equivalent of JFileChooser is called FileDialog. By default it lets use user select files only, but you can setFileSelectionMode(...

JSlider 0

JSlider

javax.swing Class JSlider java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JSlider All Implemented Interfaces: ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants   public class JSlider extends JComponent implements SwingConstants, javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable A visual component that allows selection...

JMenu 1

JMenu

java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.AbstractButton javax.swing.JMenuItem javax.swing.JMenu All Implemented Interfaces: Accessible, ImageObserver, ItemSelectable, MenuContainer, MenuElement, Serializable, SwingConstants An implementation of a menu — a popup window containing JMenuItems that is displayed when the user...

JWindow 0

JWindow

javax.swing Class JWindow java.lang.Object java.awt.Component java.awt.Container java.awt.Window javax.swing.JWindow All Implemented Interfaces: Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable JWindow is like a JFrame, but without borders or menu bar. A generic term for both a JFrame...

JFrame 0

JFrame

javax.swing Class JFrame java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame All Implemented Interfaces: Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants   1. As in the AWT, starting point for graphical applications. 2. One of few Swing...

JApplet 0

JApplet

Before coming to this tutorial I recommended to read the tutorial of Applet. JApplet supports more flexible way to design GUI. javax.swing Class JApplet java.lang.Object java.awt.Component java.awt.Container java.awt.Panel java.applet.Applet javax.swing.JApplet All Implemented Interfaces: Accessible,...

Java Swing 0

Java Swing

Java Swing refers to the new library of GUI controls (buttons, sliders, checkboxes, etc.) that replaces the somewhat weak and inflexible AWT controls. 1. Main New Features Lightweight. Not built on native window-system windows....

Applet 0

Applet

An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a page. When you use...