D
David Segall
I have built a form in NetBeans and NetBeans generates all the screen
widgets as private. I have also written two methods that write and
read the contents of the form to a file. I would like to move those
two methods to a separate class but I don't see how they could access
to the on-screen widgets to get or set the values. Should I give up
the idea of a separate class because the I/O "belongs" with the form
or is there a neat way of communicating between my proposed classes?
widgets as private. I have also written two methods that write and
read the contents of the form to a file. I would like to move those
two methods to a separate class but I don't see how they could access
to the on-screen widgets to get or set the values. Should I give up
the idea of a separate class because the I/O "belongs" with the form
or is there a neat way of communicating between my proposed classes?