Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I refactor or otherwise modify the Designer generated code?

code Designer refactor
0
Posted

Can I refactor or otherwise modify the Designer generated code?

0

Yes. The Designer parser has a good understanding of basic Java code and various Swing, SWT and GWT patterns. As a result, it is very refactoring friendly and very resilient in the face of hand made changes. You can make changes or add code anywhere you like and Designer will reverse engineer it when possible. You can also refactor the code in almost any conceivable way and Designer will still be able to parse it and render it in the design view. For example, use the tool to create a new Swing JFrame, add some widgets, and then use the Eclipse refactoring tools to extract some of the widgets into their own methods.

0

Yes. The Designer parser has a good understanding of basic Java code and various Swing and SWT patterns. As a result, it is very refactoring friendly and very resilient in the face of hand made changes. You can make changes or add code anywhere you like and Designer will reverse engineer it when possible. You can also refactor the code in almost any conceivable way and Designer will still be able to parse it and render it in the design view. For example, use the tool to create a new Swing JFrame, add some widgets, and then use the Eclipse refactoring tools to extract some of the widgets into their own methods.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123