UI Inheritance

Hi

I have just started evaluating the GUI Designer for a project we have begun.

One of the things a developer is proposing is to inherit from some base
Forms.

For example every form will have an Exit button. If we wanted to change the
text of that button to 'Leave' it will propagate through every Form.

Can I do this with the GUI Designer?

Thanks
Shane

--
Today I want to do something better than when I did it yesterday


1 comment
Comment actions Permalink

Sure you can do this. Keep in mind that idea's ui designer is just a layout designer. The result code can be set to be injected into your code. And sure you can inherit it just like ordinary class. Try to bind the form to a JPanel inherited class, and you will know.

0

Please sign in to leave a comment.