I am pissed that I need to do something really basic in Java for my database class, but no one I know ( including the teachers) can help me with that. I have 0% knowledge in Java, but I need to build a simple gui front end with jdbc access to my Postgres database. I have the front end ready and I have some code which retrieves records from my database, but for some reason I keep on getting errors when I apply that same code to the buttons on my gui. It's definitely me doing something moronicly stupid because I have shit for knowledge in java. Does anyone know their way around java? Can anyone help?