title: can only use limited amount of methods on java sql
body: <p>Is it normal that if you declare a method on a jFrameView. You can only use few methods from the java.sql package?I'm trying to create a preparedStatement so that I could perform an insert query but I only got these:
  <img src="https://i.stack.imgur.com/yGslG.png" alt="enter image description here"></p>
  
  <p>Whereas if I use the connection object on a normal command line style java app. I get a bunch of methods available:</p>
  
  <p><img src="https://i.stack.imgur.com/vX6cx.png" alt="enter image description here"></p>
  
  <p>They're all under the same folder(package) where the jFrame/Form is. And the package.
  Please help, I can't understand why its acting this way. </p>