I was wondering if it was possible to add to another class without physically changing that particular class for example the Jbutton class as you can't edit it. Is this possible? If so does anyone know how to do it?
Asked
Active
Viewed 42 times
1
-
Sorry, For me your question is not clear enough. If you can please add some example that you have tried out so far. – Dinidu Hewage May 03 '16 at 03:32
-
Yes, it's possible. Take a look at the [facade pattern](https://en.wikipedia.org/wiki/Facade_pattern). Since the question has been marked as a duplicate, I can't provide an example. – Gilbert Le Blanc May 03 '16 at 07:54