Forums Register Login

Null Pointer Exception in a GUI application

+Pie Number of slices to send: Send
Hi Guys,

i would like to extend this question by asking something about my code.

i'm basically attempting to use extended JFrame (to understand how it differs) but i've run into a problem.

i decided to post the code so it makes more sense:





followed by:




This fails to work - i get run time errors. Can somebody please tell me why..? thanks.
+Pie Number of slices to send: Send
Damn! I split the thread incorrectly. Please keep reading here.
Don't destroy the earth! That's where I keep all my stuff! Including this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


Reply locked
This thread has been viewed 1767 times.
Similar Threads
Components Placement
how to center this button 1
JTabbedPane with Keyevents
AWT-EventQueue-0" - need Help
JList selection to int not working
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:55:07.