<p>Help with this Java code, I am having issues with the methodsgetWorth and sortRecords they are giving a NullpointerException forsome reason and not too sure the methods after that either.
<br/><img src="https://media.cheggcdn.com/media%2F16b%2F16bf51f3-cbed-4e48-b678-ef7f0b7cc34d%2Fimage" alt="sin ?+ cos ? cos e cos ?-sin ? Rewrite over a common denominator. Type your answer in terms of sine and/or cosine. sin ? cos ?-sin ?
<p><img alt="3. Develop a simple tool TextStats for calculating basic statistics for a segment of text. The application should have a single window with scrolling text box (a JTextArea) and