I am trying to specify the.. frame.setDefaultCloseOperation and it keeps telling me that the symbol frame can't be found. I have tired importing every package I could think of to no avail.
... what is there to declare or define? All I am trying to do is dictate how the frames close.
thus.. This is exactly how the java tutorial says to do it.. yet for me it throws an error on frame.
Commonest reason for a "cannot find symbol" error message is a Tiny Spelling misstake, which is different from a tiny spelling mistake. Java recognises spelling and Spelling as different words.
Since you haven't declared a variable called 'frame' in your main() method, Java does not know what to do when you call frame.setDefaultCloseOperation(). You also are calling new FreelanceBillingUI() without assigning a name to it. Maybe this is where you were supposed to define 'frame'.
The GUI builder in NetBeans is really nice. Until you try to understand the code and realise you have learned nothing about layouts. Don't use automatic GUI builders at the "beginning" stage.
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
a bit of art, as a gift, that will fit in a stocking