Java Commonly used in packages , classes, and classes, methods, and properties in packages
Common packages |
java.io.*; java.util.*; java.lang.*; java.sql.*; java.text.*; java.awt.*; javax.swing.*; |
package name |
interface |
class |
method |
properties |
java.sql.*; |
|
public class DriverManager extends Object |
static connect Ion |
getconnection (String url, String user, string Password) attempted to establish a connection to a given database URL. |
  |
|
java.text.*; |
|
public class SimpleDateFormat extends DateFormat |
- format convert date type to String type
- Parse String class Type is converted to date.
|
"Yyyy-mm-dd ' T ' HH:mm:ss. Sssz " |
2001-07-04t12:08:56.235-0700 |
  |
java.awt.*; java.swing.*; |
|
|
Layout classes: BorderLayout, GridLayout, CardLayout, FlowLayout Component classes: JButton, Jcheckbox, JcomboBox, JComponent, JDialog, Jframe, Jlist, Jlabel, JToolBar, JMenu, JMenuBar, JMenuItem, Joptionpane, JPasswordField, Jpasswordlabel, JScrollPane, Jsepa Rator, JTextArea For specific users, please refer to Javaapi. |
|
Commonly used packages, classes, and classes, methods, properties----SQL, and text\swing in a package in Java