this is my first post here and I have a question that seems really nooby, but this has been troubling me for the past hour or so.
I\'m making a simple JFrame with a JPa
you may got your answer but for a newbie to java swing i suggest that you should the Net-beans IDE. it graphically adds and lays out the GUI and you dont need to write any hand-written code. It's a great place to start, as stated here:
http://docs.oracle.com/javase/tutorial/uiswing/learn/index.html