0

I am using netbeans to auto generate a JFrame. I have many panels within the frame. Is there a method for splitting the frame class into smaller classes in netbeans? One class for each panel?

user2670866
  • 88
  • 2
  • 14
  • 1
    I'm afraid there is not a way to do this. This was one of the main reasons I create GUI only coding nowadays. – Jean Waghetti Sep 05 '13 at 19:19
  • 1
    You may be able to use the approach shown [here](http://stackoverflow.com/a/2561540/230513). – trashgod Sep 05 '13 at 19:53
  • 1
    You can create a new `JPanel` form. Copy all the components on one of the frames panels and paste onto the new `JPanel` form... – MadProgrammer Sep 06 '13 at 00:17
  • 1
    The answer to this seems to come down to whether you can actually program Java GUIs, as opposed to being your IDE's slave ('auto generate').. – Andrew Thompson Sep 06 '13 at 02:01

0 Answers0