title: How to create a login form - OOP in Java?
body: <p>I already have a inventory system which accesses a certain table on a certain database.</p>
  
  <p>Now I want to create a new frame that will serve as a login form before the user can proceed to the main inventory system frame.</p>
  
  <p>I want it to access the same database but different table, (ex. user_table and item_table under the inventory_system_db database).</p>
  
  <p>If the user logged on an admin account then he can access the inventory system with admin controls (ex. edit, add, delete).</p>
  
  <p>And when he logged on as a normal user he will be able to access the inventory system but without admin controls.</p>
  
  <p>Things I want to know:</p>
  
  <ul>
  <li>How to create a login form?</li>
  <li>How to make it proceed to inventory system?</li>
  </ul>