Category: Java

Java

About Java programming language! Java is an object-oriented programming language. Java is compiled and interpreted. Java programming language has the following advantages: simplicity, portability, platform independence, object orientation, high security, high performance. Java is a programming platform that includes the following...

Java Swing

The main classes of the swing package are: JApplet JButton JCheckBox JCheckBoxMenuItem JColorChooser JComboBox JComponent JDesktopPane JDialog JFileChooser JFormattedTextField JFrame JInternalFrame JLabel JList JMenu JMenuBar JMenuItem JOptionPane JPanel JPasswordField JPopupMenu JProgressBar JRadioButton JRadioButtonMenuItem JSlider JScrollBar JScrollPane JSeparator JTable JTextArea JTextComponent JTextField...

Java AWT

The main classes of the java awt package are: BorderLayout Button Canvas Checkbox CheckboxGroup CheckboxMenuItem Choice Color Component Container Dialog Dimension FileDialog FlowLayout Font Frame Graphics GridBagLayout GridLayout Image ImageCapabilities Label List Menu MenuBar MenuComponent MenuItem Panel Point PopupMenu Scrollbar ScrollPane...

Java I/O Streams

Java I/O Streams Java I/O Streams are used for reading or writing information that are on an external source. Java I/O Streams allow communication between two or more threads. In Java there are two types of streams: Byte Streams Character Streams...

Java Exceptions

Java Exceptions Exceptions in Java represent errors that occur during execution of a program. Exception handling is used to avoid undesirable display errors, but also easier to correct any errors. To handle exceptions occurred during runtime uses: The try-catch-finally Exception thrown...