|
I have tried that as well. It seems that my frame is not changing anything at runtime. I have tried repainting it, but nothing will change unless I get an event involved.
When I used a button click event as a test, I was able to use the same jPanel1 that I created in Netbeans, because of the nonstatic context. However, when I try to do the same in a main, I have to create an instance which isn't changing.
|