Write a Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors:
- A salesperson will earn a fixed salary of $12,000 per year.
- A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson's annual sales. The current commission is 7% of total sales.
- The total annual compensation is the fixed annual salary plus the commission earned.