You can delete Java™ elements from Unified Modeling Language (UML) class diagrams or from both diagrams and projects.