Delphi Clinic | C++Builder Gate | Training & Consultancy | Delphi Notes Weblog | Dr.Bob's Webshop |
|
Implementing interface wizard
Implementing an interface in Java isn't too difficult.
But if the interface has got a lot of different method signature, it can be a tedious job to do.
And here JBuilder 2 helps us with the Implement Interface wizard.
We can activate the wizard from the Wizards menu if we are working with a Java class. The wizard will show all available interfaces in the classpath of our JBuilder project. Then we can select the appropriate interface and JBuilder will insert all method signatures with empty method bodies in our class.
All we have to do right now is provide the empty method bodies with meaningful implementations!