private void init() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 401, 349);
		Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
		Dimension windowSize = this.getSize();
		int windowX = Math.max(0, (screenSize.width  - windowSize.width ) / 2);
		int windowY = Math.max(0, (screenSize.height - windowSize.height) / 2);
		this.setLocation(windowX-400, windowY);
		
		/* ޴ */
		menuBar = new JMenuBar();
		setJMenuBar(menuBar);
		
		/* File */
		mnFile = new JMenu("File");
		mnFile.setIcon(new ImageIcon("icon/ui24/file3.png"));
		menuBar.add(mnFile);
		
		mntmOpen = new JMenuItem("Open");
		mntmOpen.setIcon(new ImageIcon("icon/ui24/folder-open.png"));
		mnFile.add(mntmOpen);
		
		mntmSave = new JMenuItem("Save");
		mntmSave.setIcon(new ImageIcon("icon/ui24/disk.png"));
		mnFile.add(mntmSave);
		
		mnDeleteLog = new JMenu("Delete Log");
		mnDeleteLog.setIcon(new ImageIcon("icon/ui24/remove.png"));
		mnFile.add(mnDeleteLog);
		
		mntmTodayLog = new JMenuItem("Today Log");
		mntmTodayLog.setIcon(new ImageIcon("icon/ui24/copy2.png"));
		mnDeleteLog.add(mntmTodayLog);
		
		
		mntmAllLog = new JMenuItem("All Log");
		mntmAllLog.setIcon(new ImageIcon("icon/ui24/drawer3.png"));
		mnDeleteLog.add(mntmAllLog);
		
		mnFile.addSeparator();
		
		mntmExit = new JMenuItem("Exit");
		mntmExit.setIcon(new ImageIcon("icon/ui24/switch.png"));
		mnFile.add(mntmExit);
		
		/* Status */
		mnStatus = new JMenu("Status");
		mnStatus.setIcon(new ImageIcon("icon/ui24/stats.png"));
		menuBar.add(mnStatus);
		
		mntmUser = new JMenuItem("User");
		mntmUser.setIcon(new ImageIcon("icon/ui24/users.png"));
		mnStatus.add(mntmUser);
		
		mntmUserOut = new JMenuItem("User Out");
		mntmUserOut.setIcon(new ImageIcon("icon/ui24/hammer.png"));
		mnStatus.add(mntmUserOut);
		
		mntmDatabase = new JMenuItem("Database");
		mntmDatabase.setIcon(new ImageIcon("icon/ui24/table2.png"));
		mnStatus.add(mntmDatabase);
		
		/* Help */
		mnHelp = new JMenu("Help");
		mnHelp.setIcon(new ImageIcon("icon/ui24/book.png"));
		menuBar.add(mnHelp);
		
		mntmHelp = new JMenuItem("Help");
		mntmHelp.setIcon(new ImageIcon("icon/ui24/question.png"));
		mnHelp.add(mntmHelp);
		
		mntmInfo = new JMenuItem("Info");
		mntmInfo.setIcon(new ImageIcon("icon/ui24/info.png"));
		mnHelp.add(mntmInfo);
		
		/* UI */
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);

		txtAreaScroll = new JScrollPane();		
		txtArea = new JTextPane();
		txtAreaScroll.setViewportView(txtArea);
		
		txtArea.setEditable(false);
		
		lblCUser = new JLabel();
		lblCUser.setBackground(new Color(255, 245, 238));
		lblCUser.setForeground(new Color(255, 0, 0));
		lblCUser.setHorizontalAlignment(SwingConstants.RIGHT);
		lblCUser.setOpaque(true);
		
		
		GroupLayout gl_contentPane = new GroupLayout(contentPane);
		gl_contentPane.setHorizontalGroup(
			gl_contentPane.createParallelGroup(Alignment.LEADING)
				.addComponent(txtAreaScroll, GroupLayout.DEFAULT_SIZE, 375, Short.MAX_VALUE)
				.addComponent(lblCUser, GroupLayout.DEFAULT_SIZE, 375, Short.MAX_VALUE)
		);
		gl_contentPane.setVerticalGroup(
			gl_contentPane.createParallelGroup(Alignment.LEADING)
				.addGroup(gl_contentPane.createSequentialGroup()
					.addComponent(txtAreaScroll, GroupLayout.PREFERRED_SIZE, 254, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(ComponentPlacement.RELATED)
					.addComponent(lblCUser, GroupLayout.DEFAULT_SIZE, 20, Short.MAX_VALUE))
		);
		contentPane.setLayout(gl_contentPane);
		server_start();
	}